This project was generated with Angular CLI version 16.0.0.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The application will automatically reload if you change any of the source files.
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
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory.
Run ng test
to execute the unit tests via Karma.
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.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.
ng update @angular/cdk @angular/cli @angular/core @angular/material --allow-dirty
1、删除 node_modules 文件夹: rm -rf node_modules
2、清除可能存在的问题缓存: npm cache clean --force
3、重新安装依赖项: npm install
添加 tailwindcss 官网
npm install -D tailwindcss postcss autoprefixer
1、创建项目命令 ng new 项目名
2、创建模块路由命令 ng g m 模块名 --routing
3、创建组件命令 ng g c 组件名
4、创建服务命令 ng g service
获取图标icon.