From fa958e7a07c85817babb6038edca29e1760f3103 Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Mon, 8 Nov 2021 17:38:30 +1100 Subject: [PATCH] [website] assetdir clarification --- website/docs/guides/migrating.mdx | 2 +- website/docs/reference/project-config.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/guides/migrating.mdx b/website/docs/guides/migrating.mdx index e9800c92a..bafc26ac5 100644 --- a/website/docs/guides/migrating.mdx +++ b/website/docs/guides/migrating.mdx @@ -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 |

diff --git a/website/docs/reference/project-config.mdx b/website/docs/reference/project-config.mdx index dad072cbe..f27da3fe3 100644 --- a/website/docs/reference/project-config.mdx +++ b/website/docs/reference/project-config.mdx @@ -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]",