javascript - How to import angular-ui-sortable using es6 syntax
世界只因有你
世界只因有你 2017-05-19 10:35:59
0
2
552

The project uses webpack workflow
Firstnpm install angular-ui-sortable --save-dev
Where to use it later
import 'jquery' ;
import 'jquery-ui-dist/jquery-ui.js';
import uiSortable from 'angular-ui-sortable';
But it’s useless, how to introduce it under es6 syntaxangular-ui-sortableHope you can give me some advice

世界只因有你
世界只因有你

reply all(2)
漂亮男人

babel

迷茫

node does not supportimport语法,请确定已使用babel编译,否则还是用回require

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template