Angular ionic 3使用systemjs.config.js脚本使sortableJs正常工作
我在跟踪,systemjs.config.js就是我被卡住的地方。我有一个离子3角4应用程序 我在我的assets/js/中创建了一个名为systemjs.config.js的脚本,然后将其作为标题部分的最后一行包含在我的index.html中Angular ionic 3使用systemjs.config.js脚本使sortableJs正常工作,angular,typescript,ionic3,systemjs,sortablejs,Angular,Typescript,Ionic3,Systemjs,Sortablejs,我在跟踪,systemjs.config.js就是我被卡住的地方。我有一个离子3角4应用程序 我在我的assets/js/中创建了一个名为systemjs.config.js的脚本,然后将其作为标题部分的最后一行包含在我的index.html中 <script src="assets/js/systemjs.config.js"></script> 应用程序模块.ts import { SortablejsModule } from 'angular-sortablej
<script src="assets/js/systemjs.config.js"></script>
应用程序模块.ts
import { SortablejsModule } from 'angular-sortablejs'
@NgModule({
declarations: [],
imports: [
SortablejsModule
]
dyamicHome.ts
import { sortablejs } from 'sortablejs'
我不知道这里出了什么问题,所以我用了另一种叫做dragula的东西
这很有魅力我不知道这里出了什么问题,所以我最后用了另一种叫做dragula的东西 这很有魅力
import { SortablejsModule } from 'angular-sortablejs'
@NgModule({
declarations: [],
imports: [
SortablejsModule
]
import { sortablejs } from 'sortablejs'