Skip to content
Avatar of jetphamjetpham/ratzilla-vercel-template

Ratzilla Starter

Get started building your TUI-themed web app in Rust & Wasm with Ratzilla

Framework
Use Case
CSS
Contentful thumbnail for Ratzilla Vercel Template

ratzilla-vercel-template

This is a Ratzilla app generated by the Simple Template with configuration to be deployed on Vercel.

Serve

Install [trunk] to build and serve the web application.

cargo install --locked trunk

Add compilation target wasm32-unknown-unknown:

rustup target add wasm32-unknown-unknown

Then serve it on your browser:

trunk serve

Now go to http://localhost:8080 and enjoy TUIs in your browser!

Change release to true in Trunk.toml for release builds

Vercel Observability Features

To enable the following features, add these snippents to the <body> of the index.html

Speed Insights

<script>
window.si = window.si || function () { (window.siq = window.siq || []).push(arguments); };
</script>
<script defer src="/_vercel/speed-insights/script.js"></script>

Web Analytics

<script>
window.va = window.va || function () { (window.vaq = window.vaq || []).push(arguments); };
</script>
<script defer src="/_vercel/insights/script.js"></script>

License

Copyright (c) jet

This project is licensed under the MIT license (LICENSE or http://opensource.org/licenses/MIT)

Contentful thumbnail for Ratzilla Vercel Template
Avatar of jetphamjetpham/ratzilla-vercel-template

Ratzilla Starter

Get started building your TUI-themed web app in Rust & Wasm with Ratzilla

Framework
Use Case
CSS

ratzilla-vercel-template

This is a Ratzilla app generated by the Simple Template with configuration to be deployed on Vercel.

Serve

Install [trunk] to build and serve the web application.

cargo install --locked trunk

Add compilation target wasm32-unknown-unknown:

rustup target add wasm32-unknown-unknown

Then serve it on your browser:

trunk serve

Now go to http://localhost:8080 and enjoy TUIs in your browser!

Change release to true in Trunk.toml for release builds

Vercel Observability Features

To enable the following features, add these snippents to the <body> of the index.html

Speed Insights

<script>
window.si = window.si || function () { (window.siq = window.siq || []).push(arguments); };
</script>
<script defer src="/_vercel/speed-insights/script.js"></script>

Web Analytics

<script>
window.va = window.va || function () { (window.vaq = window.vaq || []).push(arguments); };
</script>
<script defer src="/_vercel/insights/script.js"></script>

License

Copyright (c) jet

This project is licensed under the MIT license (LICENSE or http://opensource.org/licenses/MIT)

Unleash New Possibilities

Deploy your app on Vercel and unlock its full potential