1.0.1 • Published 3 years ago
vue-colorful-console v1.0.1
vue-console
for console log clearly
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.
一、初始化项目:vue init webpack-simple "项目名"
删除src中除了main.js和app.vue外的文件,清空app.vue中无用内容-----在src文件夹下新建一个lib文件夹(包含插件名.vue和index.js) 1 .vue文件中写入插件内容逻辑