A progressive modern CloudStack Admin UI based on VueJS and Ant Design.
Install tools and dependencies:
sudo apt-get install npm sudo npm i -g npm@next sudo npm i -g npm-check-updates ncu -u # optional: upgrade dependencies npm install
Build and run:
npm run serve
Production Build:
npm run build
Upgrade dependencies:
Run Tests:
npm run test npm run lint npm run test:unit
Fix issues and vulnerabilities:
npm audit
The project was created by Rohit Yadav over several weekends during late 2018. The base app layout was referenced from Ant Design Pro Vue.
Vue-cli3 used by the project.
Disable Eslint (not recommended): remove eslintConfig
field in package.json
Easy-Mock used by project,easy-mock Project API Data DO NOT CHANGE THE INTERFACE,If you want to modify, please fork ANTD-PRO-Easy-Mock-API.zip and running to your server.
Load on Demand: modify /src/main.js
L7, append import './core/lazy_use'
code.
Customize Theme: vue.config.js
eg:
css: { loaderOptions: { less: { modifyVars: { /* Less variables, required modifyVars*/ 'primary-color': '#F5222D', 'link-color': '#F5222D', 'border-radius-base': '4px', }, javascriptEnabled: true, } } }