5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 17:39:58 +08:00

[website] assetdir clarification

This commit is contained in:
Lea Anthony 2021-11-08 17:38:30 +11:00
parent 1a3e81a3f8
commit fa958e7a07
No known key found for this signature in database
GPG Key ID: 33DAF7BB90A58405
2 changed files with 2 additions and 2 deletions

View File

@ -199,7 +199,7 @@ The format of the file is slightly different. Here is a comparison:
| frontend / serve | | Removed |
| tags | | Removed |
| | wailsjsdir | The directory to generate wailsjs modules |
| | assetdir | The directory of the frontend assets for `dev` mode |
| | assetdir | The directory of the compiled frontend assets for `dev` mode |
</p>

View File

@ -9,7 +9,7 @@ The project config resides in the `wails.json` file in the project directory. Th
```json
{
"name": "[The project name]",
"assetdir": "[Relative path to your assets directory]",
"assetdir": "[Relative path to the directory containing the compiled assets]",
"frontend:install": "[The command to install node dependencies, run in the frontend directory - often `npm install`]",
"frontend:build": "[The command to build the assets, run in the frontend directory - often `npm run build`]",
"frontend:dev": "[This command is run in a separate process on `wails dev`. Useful for 3rd party watchers]",