diff --git a/docs/course/rbac/1-introduction/readme.en_US.md b/docs/course/rbac/1-introduction/readme.en_US.md
index 5c631e382..2ff43f5d1 100644
--- a/docs/course/rbac/1-introduction/readme.en_US.md
+++ b/docs/course/rbac/1-introduction/readme.en_US.md
@@ -24,7 +24,7 @@ After completing all the steps in this tutorial, the final application will look
## Current environment
-angular ^18.0.0 | nestjs ^7.0.0
+angular ^19.0.0 | nestjs ^7.0.0
Refer to the following address for environment installation:Angular | Nestjs
diff --git a/docs/course/rbac/1-introduction/readme.zh_CN.md b/docs/course/rbac/1-introduction/readme.zh_CN.md
index 729b1c2e6..5702c48f7 100644
--- a/docs/course/rbac/1-introduction/readme.zh_CN.md
+++ b/docs/course/rbac/1-introduction/readme.zh_CN.md
@@ -24,7 +24,7 @@ default: true
## 当前环境
-angular ^18.0.0 | nestjs ^7.0.0
+angular ^19.0.0 | nestjs ^7.0.0
环境安装参考以下地址:Angular | Nestjs
diff --git a/docs/ui/getting-started/demo/1__bash/1.bash b/docs/ui/getting-started/demo/1__bash/1.bash
index 9b0822068..0ec66af6a 100644
--- a/docs/ui/getting-started/demo/1__bash/1.bash
+++ b/docs/ui/getting-started/demo/1__bash/1.bash
@@ -1,8 +1,12 @@
$ ng new my-app
-? Would you like to add Angular routing? Yes
? Which stylesheet format would you like to use?
- CSS
-> SCSS [ https://sass-lang.com/documentation/syntax#scss ]
- Sass [ https://sass-lang.com/documentation/syntax#the-indented-syntax ]
- Less [ http://lesscss.org ]
- Stylus [ http://stylus-lang.com ]
\ No newline at end of file
+ CSS [ https://developer.mozilla.org/docs/Web/CSS ]
+❯ Sass (SCSS) [ https://sass-lang.com/documentation/syntax#scss ]
+ Sass (Indented) [ https://sass-lang.com/documentation/syntax#the-indented-syntax ]
+ Less [ http://lesscss.org ]
+
+✔ Which stylesheet format would you like to use? Sass (SCSS) [
+https://sass-lang.com/documentation/syntax#scss ]
+
+✔ Do you want to enable Server-Side Rendering (SSR) and Static Site Generation
+(SSG/Prerendering)? no
\ No newline at end of file
diff --git a/docs/ui/getting-started/demo/1__bash/__1.bash.md b/docs/ui/getting-started/demo/1__bash/__1.bash.md
index c362d6f06..7aeb86e2c 100644
--- a/docs/ui/getting-started/demo/1__bash/__1.bash.md
+++ b/docs/ui/getting-started/demo/1__bash/__1.bash.md
@@ -1,3 +1,3 @@
---
-info: '5'
+info: 4,8,11
---
diff --git a/docs/ui/getting-started/demo/1__my-app/.browserslistrc b/docs/ui/getting-started/demo/1__my-app/.browserslistrc
deleted file mode 100644
index 427441dc9..000000000
--- a/docs/ui/getting-started/demo/1__my-app/.browserslistrc
+++ /dev/null
@@ -1,17 +0,0 @@
-# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
-# For additional information regarding the format and rule options, please see:
-# https://github.com/browserslist/browserslist#queries
-
-# For the full list of supported browsers by the Angular framework, please see:
-# https://angular.io/guide/browser-support
-
-# You can see what browsers were selected by your queries by running:
-# npx browserslist
-
-last 1 Chrome version
-last 1 Firefox version
-last 2 Edge major versions
-last 2 Safari major versions
-last 2 iOS major versions
-Firefox ESR
-not IE 11 # Angular supports IE 11 only as an opt-in. To opt-in, remove the 'not' prefix on this line.
diff --git a/docs/ui/getting-started/demo/1__my-app/.editorconfig b/docs/ui/getting-started/demo/1__my-app/.editorconfig
index 59d9a3a3e..f166060da 100644
--- a/docs/ui/getting-started/demo/1__my-app/.editorconfig
+++ b/docs/ui/getting-started/demo/1__my-app/.editorconfig
@@ -10,6 +10,7 @@ trim_trailing_whitespace = true
[*.ts]
quote_type = single
+ij_typescript_use_double_quotes = false
[*.md]
max_line_length = off
diff --git a/docs/ui/getting-started/demo/1__my-app/.gitignore b/docs/ui/getting-started/demo/1__my-app/.gitignore
index de51f68a2..cc7b14135 100644
--- a/docs/ui/getting-started/demo/1__my-app/.gitignore
+++ b/docs/ui/getting-started/demo/1__my-app/.gitignore
@@ -1,20 +1,18 @@
-# See http://help.github.com/ignore-files/ for more about ignoring files.
+# See https://docs.github.com/get-started/getting-started-with-git/ignoring-files for more about ignoring files.
-# compiled output
+# Compiled output
/dist
/tmp
/out-tsc
-# Only exists if Bazel was run
/bazel-out
-# dependencies
+# Node
/node_modules
-
-# profiling files
-chrome-profiler-events*.json
+npm-debug.log
+yarn-error.log
# IDEs and editors
-/.idea
+.idea/
.project
.classpath
.c9/
@@ -22,7 +20,7 @@ chrome-profiler-events*.json
.settings/
*.sublime-workspace
-# IDE - VSCode
+# Visual Studio Code
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
@@ -30,16 +28,15 @@ chrome-profiler-events*.json
!.vscode/extensions.json
.history/*
-# misc
-/.sass-cache
+# Miscellaneous
+/.angular/cache
+.sass-cache/
/connect.lock
/coverage
/libpeerconnection.log
-npm-debug.log
-yarn-error.log
testem.log
/typings
-# System Files
+# System files
.DS_Store
Thumbs.db
diff --git a/docs/ui/getting-started/demo/1__my-app/README.md b/docs/ui/getting-started/demo/1__my-app/README.md
index 569c20595..90207200c 100644
--- a/docs/ui/getting-started/demo/1__my-app/README.md
+++ b/docs/ui/getting-started/demo/1__my-app/README.md
@@ -1,27 +1,59 @@
-# my-app
+# MyApp
-This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.0.3.
+This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 19.0.0.
## Development server
-Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
+To start a local development server, run:
+
+```bash
+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.
## Code scaffolding
-Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
+Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
+
+```bash
+ng generate component component-name
+```
+
+For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
+
+```bash
+ng generate --help
+```
-## Build
+## Building
-Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
+To build the project run:
+
+```bash
+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.
## Running unit tests
-Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
+To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
+
+```bash
+ng test
+```
## Running end-to-end tests
-Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
+For end-to-end (e2e) testing, run:
+
+```bash
+ng e2e
+```
+
+Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
-## Further help
+## Additional Resources
-To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
+For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
diff --git a/docs/ui/getting-started/demo/1__my-app/angular.json b/docs/ui/getting-started/demo/1__my-app/angular.json
index 414e13493..e3cd1756d 100644
--- a/docs/ui/getting-started/demo/1__my-app/angular.json
+++ b/docs/ui/getting-started/demo/1__my-app/angular.json
@@ -8,9 +8,6 @@
"schematics": {
"@schematics/angular:component": {
"style": "scss"
- },
- "@schematics/angular:application": {
- "strict": true
}
},
"root": "",
@@ -18,17 +15,21 @@
"prefix": "app",
"architect": {
"build": {
- "builder": "@angular-devkit/build-angular:browser",
+ "builder": "@angular-devkit/build-angular:application",
"options": {
"outputPath": "dist/my-app",
"index": "src/index.html",
- "main": "src/main.ts",
- "polyfills": "src/polyfills.ts",
+ "browser": "src/main.ts",
+ "polyfills": [
+ "zone.js"
+ ],
"tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
- "src/favicon.ico",
- "src/assets"
+ {
+ "glob": "**/*",
+ "input": "public"
+ }
],
"styles": [
"src/styles.scss"
@@ -40,30 +41,21 @@
"budgets": [
{
"type": "initial",
- "maximumWarning": "500kb",
- "maximumError": "1mb"
+ "maximumWarning": "500kB",
+ "maximumError": "1MB"
},
{
"type": "anyComponentStyle",
- "maximumWarning": "2kb",
- "maximumError": "4kb"
- }
- ],
- "fileReplacements": [
- {
- "replace": "src/environments/environment.ts",
- "with": "src/environments/environment.prod.ts"
+ "maximumWarning": "4kB",
+ "maximumError": "8kB"
}
],
"outputHashing": "all"
},
"development": {
- "buildOptimizer": false,
"optimization": false,
- "vendorChunk": true,
"extractLicenses": false,
- "sourceMap": true,
- "namedChunks": true
+ "sourceMap": true
}
},
"defaultConfiguration": "production"
@@ -72,31 +64,31 @@
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
- "browserTarget": "my-app:build:production"
+ "buildTarget": "my-app:build:production"
},
"development": {
- "browserTarget": "my-app:build:development"
+ "buildTarget": "my-app:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
- "builder": "@angular-devkit/build-angular:extract-i18n",
- "options": {
- "browserTarget": "my-app:build"
- }
+ "builder": "@angular-devkit/build-angular:extract-i18n"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
- "main": "src/test.ts",
- "polyfills": "src/polyfills.ts",
+ "polyfills": [
+ "zone.js",
+ "zone.js/testing"
+ ],
"tsConfig": "tsconfig.spec.json",
- "karmaConfig": "karma.conf.js",
"inlineStyleLanguage": "scss",
"assets": [
- "src/favicon.ico",
- "src/assets"
+ {
+ "glob": "**/*",
+ "input": "public"
+ }
],
"styles": [
"src/styles.scss"
@@ -106,6 +98,5 @@
}
}
}
- },
- "defaultProject": "my-app"
+ }
}
diff --git a/docs/ui/getting-started/demo/1__my-app/karma.conf.js b/docs/ui/getting-started/demo/1__my-app/karma.conf.js
deleted file mode 100644
index 2157e8577..000000000
--- a/docs/ui/getting-started/demo/1__my-app/karma.conf.js
+++ /dev/null
@@ -1,44 +0,0 @@
-// Karma configuration file, see link for more information
-// https://karma-runner.github.io/1.0/config/configuration-file.html
-
-module.exports = function (config) {
- config.set({
- basePath: '',
- frameworks: ['jasmine', '@angular-devkit/build-angular'],
- plugins: [
- require('karma-jasmine'),
- require('karma-chrome-launcher'),
- require('karma-jasmine-html-reporter'),
- require('karma-coverage'),
- require('@angular-devkit/build-angular/plugins/karma')
- ],
- client: {
- jasmine: {
- // you can add configuration options for Jasmine here
- // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html
- // for example, you can disable the random execution with `random: false`
- // or set a specific seed with `seed: 4321`
- },
- clearContext: false // leave Jasmine Spec Runner output visible in browser
- },
- jasmineHtmlReporter: {
- suppressAll: true // removes the duplicated traces
- },
- coverageReporter: {
- dir: require('path').join(__dirname, './coverage/my-app'),
- subdir: '.',
- reporters: [
- { type: 'html' },
- { type: 'text-summary' }
- ]
- },
- reporters: ['progress', 'kjhtml'],
- port: 9876,
- colors: true,
- logLevel: config.LOG_INFO,
- autoWatch: true,
- browsers: ['Chrome'],
- singleRun: false,
- restartOnFileChange: true
- });
-};
diff --git a/docs/ui/getting-started/demo/1__my-app/package.json b/docs/ui/getting-started/demo/1__my-app/package.json
index 3da8ff887..844617a93 100644
--- a/docs/ui/getting-started/demo/1__my-app/package.json
+++ b/docs/ui/getting-started/demo/1__my-app/package.json
@@ -10,30 +10,29 @@
},
"private": true,
"dependencies": {
- "@angular/animations": "~12.0.3",
- "@angular/common": "~12.0.3",
- "@angular/compiler": "~12.0.3",
- "@angular/core": "~12.0.3",
- "@angular/forms": "~12.0.3",
- "@angular/platform-browser": "~12.0.3",
- "@angular/platform-browser-dynamic": "~12.0.3",
- "@angular/router": "~12.0.3",
- "rxjs": "~6.6.0",
- "tslib": "^2.1.0",
- "zone.js": "~0.11.4"
+ "@angular/animations": "^19.0.0",
+ "@angular/common": "^19.0.0",
+ "@angular/compiler": "^19.0.0",
+ "@angular/core": "^19.0.0",
+ "@angular/forms": "^19.0.0",
+ "@angular/platform-browser": "^19.0.0",
+ "@angular/platform-browser-dynamic": "^19.0.0",
+ "@angular/router": "^19.0.0",
+ "rxjs": "~7.8.0",
+ "tslib": "^2.3.0",
+ "zone.js": "~0.15.0"
},
"devDependencies": {
- "@angular-devkit/build-angular": "~12.0.3",
- "@angular/cli": "~12.0.3",
- "@angular/compiler-cli": "~12.0.3",
- "@types/jasmine": "~3.6.0",
- "@types/node": "^12.11.1",
- "jasmine-core": "~3.7.0",
- "karma": "~6.3.0",
- "karma-chrome-launcher": "~3.1.0",
- "karma-coverage": "~2.0.3",
- "karma-jasmine": "~4.0.0",
- "karma-jasmine-html-reporter": "^1.5.0",
- "typescript": "~4.2.3"
+ "@angular-devkit/build-angular": "^19.0.0",
+ "@angular/cli": "^19.0.0",
+ "@angular/compiler-cli": "^19.0.0",
+ "@types/jasmine": "~5.1.0",
+ "jasmine-core": "~5.4.0",
+ "karma": "~6.4.0",
+ "karma-chrome-launcher": "~3.2.0",
+ "karma-coverage": "~2.2.0",
+ "karma-jasmine": "~5.1.0",
+ "karma-jasmine-html-reporter": "~2.1.0",
+ "typescript": "~5.6.2"
}
}
diff --git a/docs/ui/getting-started/demo/1__my-app/public/favicon.ico b/docs/ui/getting-started/demo/1__my-app/public/favicon.ico
new file mode 100644
index 000000000..57614f9c9
Binary files /dev/null and b/docs/ui/getting-started/demo/1__my-app/public/favicon.ico differ
diff --git a/docs/ui/getting-started/demo/1__my-app/src/app/app.component.html b/docs/ui/getting-started/demo/1__my-app/src/app/app.component.html
index 9d5a121f9..8c3f8c9a0 100644
--- a/docs/ui/getting-started/demo/1__my-app/src/app/app.component.html
+++ b/docs/ui/getting-started/demo/1__my-app/src/app/app.component.html
@@ -1,508 +1,338 @@
-
+
-
-
+
+
-
-
-
-
-
-
-
-
-