# Go + Elements Starter

This starter shows a minimal example of a Go based web server using Elements. The web server is using basic templating and static JS/CSS bundles provided by the Elements package.

## Commands / npm scripts

- `dev`: `cd src && go run main.go`
- `build`: `cd src && go build -o bin main.go`
- `preview`: `cd src && go build -o bin main.go && ./bin`

## Advance Usage

This demo demonstrates a minimal Go web server with no NodeJS/JavaScript build tooling. If use of TypeScript or other JavaScript ecosystem tools are desired it is recommended to leverage tools like [Vite](https://vite.dev/) and [Vite Go](https://olivere.github.io/vite/)
