Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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