From 3dbe2a0942453c046acb57af48e052289bcc1de4 Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Wed, 27 Apr 2022 22:13:12 +1000 Subject: [PATCH] Fix docs --- website/docs/gettingstarted/firstproject.mdx | 98 ++++++++++--------- .../gettingstarted/firstproject.mdx | 1 + 2 files changed, 51 insertions(+), 48 deletions(-) diff --git a/website/docs/gettingstarted/firstproject.mdx b/website/docs/gettingstarted/firstproject.mdx index beaf1365b..f3c123135 100644 --- a/website/docs/gettingstarted/firstproject.mdx +++ b/website/docs/gettingstarted/firstproject.mdx @@ -11,74 +11,76 @@ Now that the CLI is installed, you can generate a new project by using the `wail Pick your favourite framework: + + import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; - - Generate a Svelte project using Javascript with:
+ + Generate a Svelte project using Javascript with:
- wails init -n myproject -t svelte + wails init -n myproject -t svelte - If you would rather use Typescript: + If you would rather use Typescript: - wails init -n myproject -t svelte-ts -
- - Generate a React project using Javascript with:
+ wails init -n myproject -t svelte-ts +
+ + Generate a React project using Javascript with:
- wails init -n myproject -t react + wails init -n myproject -t react - If you would rather use Typescript: + If you would rather use Typescript: - wails init -n myproject -t react-ts -
- - Generate a Vue project using Javascript with:
+ wails init -n myproject -t react-ts +
+ + Generate a Vue project using Javascript with:
- wails init -n myproject -t vue + wails init -n myproject -t vue - If you would rather use Typescript: + If you would rather use Typescript: - wails init -n myproject -t vue-ts -
- - Generate a Preact project using Javascript with:
+ wails init -n myproject -t vue-ts +
+ + Generate a Preact project using Javascript with:
- wails init -n myproject -t preact + wails init -n myproject -t preact - If you would rather use Typescript: + If you would rather use Typescript: - wails init -n myproject -t preact-ts -
- - Generate a Lit project using Javascript with:
+ wails init -n myproject -t preact-ts +
+ + Generate a Lit project using Javascript with:
- wails init -n myproject -t lit + wails init -n myproject -t lit - If you would rather use Typescript: + If you would rather use Typescript: - wails init -n myproject -t lit-ts -
- - Generate a Vanilla project using Javascript with:
+ wails init -n myproject -t lit-ts +
+ + Generate a Vanilla project using Javascript with:
- wails init -n myproject -t vanilla + wails init -n myproject -t vanilla - If you would rather use Typescript: + If you would rather use Typescript: - wails init -n myproject -t vanilla-ts -
+ wails init -n myproject -t vanilla-ts +

@@ -110,9 +112,9 @@ Wails projects have the following layout: - `/main.go` - The main application - `/frontend/` - Frontend project files - `/build/` - Project build directory - - `/build/appicon.png` - The application icon - - `/build/darwin/` - Mac specific project files - - `/build/windows/` - Windows specific project files +- `/build/appicon.png` - The application icon +- `/build/darwin/` - Mac specific project files +- `/build/windows/` - Windows specific project files - `/wails.json` - The project configuration - `/go.mod` - Go module file - `/go.sum` - Go module checksum file diff --git a/website/versioned_docs/version-v2.0.0-beta.35/gettingstarted/firstproject.mdx b/website/versioned_docs/version-v2.0.0-beta.35/gettingstarted/firstproject.mdx index 55413fffb..f3c123135 100644 --- a/website/versioned_docs/version-v2.0.0-beta.35/gettingstarted/firstproject.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.35/gettingstarted/firstproject.mdx @@ -12,6 +12,7 @@ Pick your favourite framework: + import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem";