vectytemplater

command module
v0.0.0-...-d40b24e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2022 License: BSD-2-Clause Imports: 8 Imported by: 0

README

vectytemplater

Executable that generates a basic vecty application folder structure and files.

Usage

  1. Install vectytemplater by running

    go install github.com/soypat/vectytemplater@latest
    
  2. Run vectytemplater in the parent directory where you want to create the folder with the first argument being name of folder.

    vectytemplater myproject
    
  3. Run wasmserve in the newly created directory! Navigate your browser to localhost:8080 to see the project. Install by running go install github.com/hajimehoshi/wasmserve@latest.

    wasmserve
    
  4. Modify the project to your needs. Here are some initial suggestions:

    • Modify the module name by replacing the default value vecty-templater-project with your module's name in all project files.

    • Delete the .vscode folder 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 variables GOOS=js and GOARCH=wasm.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
_templates
default/store/storeutil
Package storeutil contains a ListenerRegistry type.
Package storeutil contains a ListenerRegistry type.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL