You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bo
6e8deddaf3
|
2 years ago | |
---|---|---|
.. | ||
public | 2 years ago | |
src | 2 years ago | |
.eslintrc.js | 2 years ago | |
.gitignore | 2 years ago | |
README.md | 2 years ago | |
babel.config.js | 2 years ago | |
package-lock.json | 2 years ago | |
package.json | 2 years ago | |
vue.config.js | 2 years ago | |
yarn.lock | 2 years ago |
README.md
线上营销平台——前端工程
路由配置说明
为了方便讲项目发布在二级目录,在@plugins/config.js文件中定义了router,路由文件引用了这个变量,作为路由的base地址。
项目发布时,仍需手动修改vue.config.js文件中的publicPath属性,与二级目录保持一致
config.js文件中还配置了代理,方便开发环境和生产环境的路由切换,开发环境的代理需手动修改vue.config.js。
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Run your tests
npm run test
Lints and fixes files
npm run lint