vue2-zyb-ui
v0.1.2
Published
组件库
Readme
vue2-ui
Project setup
npm installCompiles and hot-reloads for development
npm run serveCompiles and minifies for production
npm run buildLints and fixes files
npm run lintCustomize configuration
2-1 npm i @vue/cli -g 全局安装 vue --version 检查安装是否成功
vue create vue2-ui 创建项目
? Please pick a preset: (Use arrow keys) Default ([Vue 3] babel, eslint)
Default ([Vue 2] babel, eslint) Manually select features
3-2 npm i sass-loader -D
Error: Cannot find module 'sass' npm i node-sass -D
4-3 npm i vue-loader -D webpack 打包报错 TypeError: Cannot read properties of undefined (reading 'styles') 这个错误通常是由于 webpack 和 vue-loader 版本不兼容 导致的 调整 vue-loader 版本将 vue-loader 版本从 17.x 降级到 15.x 可以解决这个问题 npm i vue-loader@15 -D
npm i webpack-cli -D
4-4 npm i [email protected] [email protected] [email protected] -D
