Angular:
- //文档 https://angular.dev/
- //创建项目
- 1. npm install -g @angular/cli
-
- 2. ng new my-angular-app
-
- //启动
- npm run start
-
- //构建
- npm run build
-
- //代码检查
- ESlint
React:
- //文档 https://create-react-app.dev/docs/getting-started
- //TypeScript https://www.typescriptlang.org/
- //创建项目
- npm init react-app my-app
- npx create-react-app my-app
- yarn create react-app my-app
-
- npx create-react-app my-app --template typescript
- //启动
- npm start or yarn start
-
- //构建
- npm run build or yarn build
-
- //代码检查
- ESlint
-
- //HTTPS 自签名
- ($env:HTTPS = "true") -and (npm start)
Vue:
- //文档 https://cn.vuejs.org/guide/quick-start.html
- //创建项目
- npm create vue@latest
-
- //启动
- npm run start
-
- //构建
- npm run build
-
- //代码检查
- ESlint