vectytemplater
March 1, 2022 ยท View on GitHub
Executable that generates a basic vecty application folder structure and files.
Usage
-
Install
vectytemplaterby runninggo install github.com/soypat/vectytemplater@latest -
Run
vectytemplaterin the parent directory where you want to create the folder with the first argument being name of folder.vectytemplater myproject -
Run
wasmservein the newly created directory! Navigate your browser tolocalhost:8080to see the project. Install by runninggo install github.com/hajimehoshi/wasmserve@latest.wasmserve -
Modify the project to your needs. Here are some initial suggestions:
-
Modify the module name by replacing the default value
vecty-templater-projectwith your module's name in all project files. -
Delete the
.vscodefolder if you are not using Visual Studio Code. It is there for intellisense to work since WASM projects targets the browser, not your local computer environment. WASM projects are compiled with Go environent variablesGOOS=jsandGOARCH=wasm.
-