Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/razshare/frizzante-starter
An example of how to use frizzante to render svelte components on the server using V8 bindings.
https://github.com/razshare/frizzante-starter
go golang svelte
Last synced: 5 days ago
JSON representation
An example of how to use frizzante to render svelte components on the server using V8 bindings.
- Host: GitHub
- URL: https://github.com/razshare/frizzante-starter
- Owner: razshare
- Created: 2024-08-25T01:33:09.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-09-29T10:43:47.000Z (3 months ago)
- Last Synced: 2024-12-15T01:33:26.250Z (12 days ago)
- Topics: go, golang, svelte
- Language: Go
- Homepage: https://github.com/razshare/frizzante
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Frizzante Example
This is an example of how to use [frizzante](https://github.com/razshare/frizzante) to render [Svelte](https://svelte.dev/) components using V8 bindings.
1. Enable CGO
```sh
go env -w CGO_ENABLED='1'
```2. Install your dependencies.
```sh
npm i && \\
go mod tidy
```
3. Run the server.
```sh
go run main.go
```
4. Visit http://127.0.0.1:8080