5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-18 09:59:31 +08:00
wails/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.8.1/guides/angular.mdx
2024-04-11 21:19:59 +10:00

14 lines
398 B
Plaintext

# Angular
虽然 Wails 没有 Angular 模板,但可以将 Angular 与 Wails 一起使用。
## 开发模式
要让开发模式与 Angular 一起工作,您需要将以下内容添加到您的 `wails.json` 中:
```json
"frontend:build": "npx ng build",
"frontend:install": "npm install",
"frontend:dev:watcher": "npx ng serve",
"frontend:dev:serverUrl": "http://localhost:4200",
```