mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 15:40:11 +01:00
docs: update the docs for a production bundle (fix #1035)
This commit is contained in:
parent
ae7be20212
commit
d86c064512
2 changed files with 11 additions and 1 deletions
|
|
@ -60,6 +60,16 @@ or in AOT mode
|
|||
npm run start:prod:aot
|
||||
```
|
||||
|
||||
To create a bundle in production mode, execute:
|
||||
|
||||
```bash
|
||||
npm run build:prod
|
||||
```
|
||||
or
|
||||
```bash
|
||||
npm run build:prod:aot
|
||||
```
|
||||
|
||||
This will clear up your dist folder (where release files are located), generate a release build and start the
|
||||
built-in server.
|
||||
Now you can copy the sources from the `dist` folder and use it with any backend framework or
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
"e2e": "ng e2e",
|
||||
"clean:dist": "npm run rimraf -- dist",
|
||||
"clean:coverage": "npm run rimraf -- coverage",
|
||||
"gh-pages": "wintersmith build -C docs && gh-pages -d docs/build",
|
||||
"docs:deploy": "wintersmith build -C docs && gh-pages -d docs/build",
|
||||
"docs:serve": "wintersmith preview -C docs"
|
||||
},
|
||||
"private": true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue