cloudstack/ui
M. Weber 671a04cc8c refactoring of less rules (#26)
This is a difficult first step to more unified less code.

replace inline styles with class names and define rules at the end of vue files
remove first ant-pro classes (no benefits with it yet)
move some less rules to components

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:12 +05:30
..
legacy ui: deprecate old UI and move to legacy to be served at /client/legacy (#4518) 2020-12-05 20:36:59 +05:30
public cleanup, new loader and themeing fixes 2021-01-20 07:06:12 +05:30
src refactoring of less rules (#26) 2021-01-20 07:06:12 +05:30
tests/unit primate: initial UI v0.1 2021-01-20 07:06:11 +05:30
.editorconfig primate: initial UI v0.1 2021-01-20 07:06:11 +05:30
.gitattributes primate: initial UI v0.1 2021-01-20 07:06:11 +05:30
.gitignore primate: initial UI v0.1 2021-01-20 07:06:11 +05:30
.prettierrc primate: initial UI v0.1 2021-01-20 07:06:11 +05:30
.travis.yml primate: initial UI v0.1 2021-01-20 07:06:11 +05:30
README.md dashboard: fix styling and enhancements (#8) 2021-01-20 07:06:12 +05:30
babel.config.js primate: initial UI v0.1 2021-01-20 07:06:11 +05:30
error.html CLOUDSTACK-9842: Make UI JSP Free 2016-09-28 12:26:43 +05:30
index.html ui: deprecate old UI and move to legacy to be served at /client/legacy (#4518) 2020-12-05 20:36:59 +05:30
jest.config.js primate: initial UI v0.1 2021-01-20 07:06:11 +05:30
jsconfig.json primate: initial UI v0.1 2021-01-20 07:06:11 +05:30
package-lock.json style: create new .less files structure (#3) 2021-01-20 07:06:12 +05:30
package.json style: create new .less files structure (#3) 2021-01-20 07:06:12 +05:30
vue.config.js cleanup, new loader and themeing fixes 2021-01-20 07:06:12 +05:30
webstorm.config.js primate: initial UI v0.1 2021-01-20 07:06:11 +05:30

README.md

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 start
or
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