dujingxian 4 лет назад
Родитель
Сommit
9170326035
1 измененных файлов с 7 добавлено и 1 удалено
  1. 7 1
      src/main.ts

+ 7 - 1
src/main.ts

@@ -71,7 +71,13 @@ import {
     Message,
     Notification
 } from 'element-ui';
-import { Cell, CellGroup, Icon, NavBar } from 'vant';
+// import { Cell, CellGroup, Icon, NavBar } from 'vant';
+import Cell from 'vant/lib/cell';
+import CellGroup from 'vant/lib/cell-group';
+import Icon from 'vant/lib/icon';
+import NavBar from 'vant/lib/nav-bar';
+// import 'vant/lib/cell/style';
+import 'vant/lib/index.css';
 Vue.use(Cell);
 Vue.use(CellGroup);
 Vue.use(Icon);