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:
parent
1a3e81a3f8
commit
fa958e7a07
@ -199,7 +199,7 @@ The format of the file is slightly different. Here is a comparison:
|
|||||||
| frontend / serve | | Removed |
|
| frontend / serve | | Removed |
|
||||||
| tags | | Removed |
|
| tags | | Removed |
|
||||||
| | wailsjsdir | The directory to generate wailsjs modules |
|
| | 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>
|
</p>
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ The project config resides in the `wails.json` file in the project directory. Th
|
|||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"name": "[The project name]",
|
"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: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: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]",
|
"frontend:dev": "[This command is run in a separate process on `wails dev`. Useful for 3rd party watchers]",
|
||||||
|
Loading…
Reference in New Issue
Block a user