Rohit Yadav b1ee9cc197 cleanup, new loader and themeing fixes
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:12 +05:30
..
2021-01-20 07:06:12 +05:30
2021-01-20 07:06:11 +05:30
2021-01-20 07:06:11 +05:30
2021-01-20 07:06:11 +05:30
2021-01-20 07:06:11 +05:30
2021-01-20 07:06:11 +05:30
2021-01-20 07:06:11 +05:30
2021-01-20 07:06:11 +05:30
2016-09-28 12:26:43 +05:30
2021-01-20 07:06:11 +05:30
2021-01-20 07:06:11 +05:30
2021-01-20 07:06:12 +05:30
2021-01-20 07:06:12 +05:30
2021-01-20 07:06:12 +05:30
2021-01-20 07:06:11 +05:30

CloudStack Primate

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

History

The project was created by Rohit Yadav over several weekends during late 2018. The base app layout was referenced from Ant Design Pro Vue.

Env and dependencies

Other

  • Vue-cli3 used by the project.

  • Disable Eslint (not recommended): remove eslintConfig field in package.json

  • Easy-Mock used by projecteasy-mock Project API Data DO NOT CHANGE THE INTERFACEIf 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,
      }
    }
  }

Docs