https://github.com/osdevisnot/sorvor-minimal
demonstrate usage of sørvør with minimal boilerplate
https://github.com/osdevisnot/sorvor-minimal
Last synced: 28 days ago
JSON representation
demonstrate usage of sørvør with minimal boilerplate
- Host: GitHub
- URL: https://github.com/osdevisnot/sorvor-minimal
- Owner: osdevisnot
- Created: 2021-02-23T07:35:03.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-23T07:45:18.000Z (about 5 years ago)
- Last Synced: 2025-12-01T14:53:06.072Z (4 months ago)
- Language: HTML
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sorvor-minimal
This example demonstrates usage of sørvør with minimal boilerplate.
The `public/index.html` file includes an annotated reference to `public/index.js`.
The `esbuild` annotation in `public/index.html` instructs `sørvør` to build `public/index.js` file with `esbuild`.
## prerequisites
`sørvør` should be installed, preferably using [go binaries](https://gobinaries.com/):
```bash
curl -sf https://gobinaries.com/osdevisnot/sorvor | sh
```
## available commands
`sorvor --minify --sourcemap` - build the project with minification and sourcemaps
`sorvor --serve` - starts a live reload dev server at [http://localhost:1234](http://localhost:1234), and rebuilds the index.js file on change.