dashboard/README.md
2023-04-24 15:27:12 +04:00

1.0 KiB

Dashboard

Libraries

Guides

Installation

  1. Add environment and configurations:

    • src/.env
    • src/appConfig.json
    • src/authConfig.json

You can copy from examples like this one: _appConfig.json

  1. Install packages
    npm ci
    

Development server

  1. npm start

  2. Navigate to http://localhost:8000/

Production build

  1. Run npm run build
  2. The build artifacts will be stored in the dist/ directory.

Tests

  • Run npm run test to execute the unit tests via Karma.

Utils

Analyze bundle size

npm run build -- --prod --stats-json --extraWebpackConfig webpack.extra.js
npx webpack-bundle-analyzer dist/stats.json