1.0.0 • Published 2 years ago
vue-piece-tree v1.0.0
vue-piece-tree
A Vue.js project
Build Setup
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
For detailed explanation on how things work, consult the docs for vue-loader.
解决控制台提示
node_modules\vue-loader\lib\template-compiler\index.js 将{ parser: "babylon" } 换成 { parser: "babel" } 即可
目录结构
. ├── src/ // 源码目录 │ ├── packages/ // 组件目录 │ │ ├── switch/ // 组件(以switch为例) │ │ ├── moor-switch.vue // 组件代码 │ │ ├── index.js // 挂载插件 │ ├── App.vue // 页面入口 │ ├── main.js // 程序入口 │ ├── index.js // (所有)插件入口 ├── index.html // 入口html文件 .
1.0.0
2 years ago