NPM tasks are ran from this base dir.
npm install
If you’re working on Windows
-
Install Microsoft’s windows-build-tools using npm install --global --production windows-build-tools from an elevated PowerShell or CMD.exe (run as Administrator).
-
Restart your computer
-
Re-run npm install
If you don’t install this library, you may have such errors when you’ll do npm install :
ERROR in ./~/css-loader?importLoaders=1!./~/sass-loader!./~/postcss-loader!./src/index.scss Module build failed: Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (57) For more information on which environments are supported please see: https://github.com/sass/node-sass/releases/tag/v3.13.1
This project use project Gravitee UI Components. If you want to develop in parallel, you can clone repository and link to project.
git clone git@github.com:gravitee-io/gravitee-ui-components.git
pushd gravitee-ui-components
npm link
popd
pushd gravitee-management-webui
npm link @gravitee/ui-components
popd
If you wanna serve the built version on dev mode :
npm run serve
If you wanna serve the built version on production mode :
npm run build:prod
npm run serve:prod
If you wanna serve the built version pointing on the demo’s server :
npm run serve:demo
If you wanna serve the built version pointing on the nightly’s server :
npm run serve:nightly
Tested and approved with the BrowserStack platform