From 7e6403826595af72f7e18b10b377e44229e0051e Mon Sep 17 00:00:00 2001 From: Blake Bourque Date: Sun, 22 May 2022 18:43:18 -0400 Subject: [PATCH] Add blurb on wails generate module (#1414) For users who wish to keep the wailsjs directory out of source control, the `wails generate module` command is valuable in a CI environment where wails build does not automatically generate the needed javascript module. --- .../versioned_docs/version-v2.0.0-beta.35/reference/cli.mdx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/website/versioned_docs/version-v2.0.0-beta.35/reference/cli.mdx b/website/versioned_docs/version-v2.0.0-beta.35/reference/cli.mdx index e6abde76a..12e3a3739 100644 --- a/website/versioned_docs/version-v2.0.0-beta.35/reference/cli.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.35/reference/cli.mdx @@ -193,6 +193,9 @@ There is more information on using this feature with existing framework scripts ## generate +### module +Wails creates a javascript module as described in `wails dev`. Use `wails generate module` to generate the javascript interface code. + ### template Wails uses templates for project generation. The `wails generate template` command helps scaffold a template so that @@ -217,4 +220,4 @@ For more details on creating templates, consult the [Templates guide](../guides/ ## version -`wails version` will simply output the current CLI version. \ No newline at end of file +`wails version` will simply output the current CLI version.