Skip to content

Commit c1a0056

Browse files
authored
Merge pull request #15 from Next2D/develop
update README.md
2 parents f2c8b71 + 47dfe55 commit c1a0056

File tree

1 file changed

+17
-9
lines changed

1 file changed

+17
-9
lines changed

template/README.md

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,35 @@ In the project directory, you can run:
99
### `npm start`
1010

1111
Runs the app in the development mode.
12-
Open [http://localhost:8080](http://localhost:8080) to view it in your browser.
13-
12+
Open [http://localhost:5173](http://localhost:5173) to view it in your browser.
1413
The page will reload when you make changes.
15-
You may also see any lint errors in the console.
1614

17-
### `npm run ios -- --env prd`
18-
### `npm run android -- --env prd`
19-
### `npm run windows -- --env prd`
20-
### `npm run macos -- --env prd`
15+
## Start the emulator for each platform.
16+
17+
### `npm run preview:windows -- --env prd`
18+
### `npm run preview:macos -- --env prd`
19+
### `npm run preview:linux -- --env prd`
20+
### `npm run preview:ios -- --env prd`
21+
### `npm run preview:android -- --env prd`
2122

22-
Start the emulator for each platform.
23+
Launch emulators for various platforms including Windows, macOS, Linux, iOS, Android, and Web (HTML).
24+
You can check the operation of the application in the environment specified by env=***.
2325

2426
### `npm run generate`
2527

2628
Generate the necessary View and ViewModel classes from the routing JSON file.
2729

30+
## Unit Test
31+
2832
### `npm test`
2933

3034
Launches the test runner.
3135

32-
### `npm run build -- --platform web --env prd`
36+
### `npm run build:web`
37+
### `npm run build:steam:windows`
38+
### `npm run build:steam:macos`
39+
### `npm run build:steam:linux`
40+
### `npm run build -- --platform *** --env***`
3341

3442
Multi-platform builder, writes to various platforms including macOS, Windows, iOS, Android, and Web (HTML).
3543
Builds apps for the environment specified by env=***.

0 commit comments

Comments
 (0)