友情链接:【react-admin】持续更新 演示地址
账号密码任意
npm install
# serve with hot reload at localhost:9000
npm run dev
npm run build
npm run mock
- 启动mock服务 npm run mock
- 启动dev server npm run dev
- 修改 ./Vue-Admin/config/index.js 参数:build.assetsPublicPath
//eg. assetsPublicPath: '/Vue-Admin/'
assetsPublicPath: 'Your path name';
// export const CONTEXT = './Vue-Admin';
export const CONTEXT = 'Your path name';
cnpm i json-server -D
cnpm i json-server -S
npm outdated:检查包是否已经过时,此命令会列出所有已经过时的包,可以及时进行包的更新
npm update moduleName:更新node模块
npm uninstall moudleName:卸载node模块