Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angular/26.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Angular ionic 3使用systemjs.config.js脚本使sortableJs正常工作_Angular_Typescript_Ionic3_Systemjs_Sortablejs - Fatal编程技术网

Angular ionic 3使用systemjs.config.js脚本使sortableJs正常工作

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

我在跟踪,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-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'