Update README.md
This commit is contained in:
1 parent
26bf465a57
commit
248ec16f3e
1 file changed
+9
-6
@@ -7,7 +7,7 @@ This project was generated using [Angular CLI](https://github.com/angular/angula
|
||||
To start a local development server, run:
|
||||
|
||||
```bash
|
||||
ng serve=csr
|
||||
ng serve
|
||||
```
|
||||
|
||||
Once the server is running, open your browser and navigate to `http://localhost:4200/`. The application will automatically reload whenever you modify any of the source files.
|
||||
@@ -31,15 +31,18 @@ ng generate --help
|
||||
To build the project run:
|
||||
|
||||
```bash
|
||||
ng build:ssr
|
||||
```
|
||||
or
|
||||
```bash
|
||||
ng build:csr
|
||||
ng build
|
||||
```
|
||||
|
||||
This will compile your project and store the build artifacts in the `dist/` directory. By default, the production build optimizes your application for performance and speed.
|
||||
|
||||
## Prerendering Meta Tags for Crawlers
|
||||
|
||||
After building, run the script to prerender meta tags for crawlers:
|
||||
```bash
|
||||
node scripts/prerender-meta.js
|
||||
```
|
||||
|
||||
## Running unit tests
|
||||
|
||||
To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
|
||||
|
||||
Reference in new issue
Block a user