Skip to content

Securely share zero-knowledge secrets via url or peer2peer sessions

Notifications You must be signed in to change notification settings

kysley/weave.run

Repository files navigation

templates/spa

This template leverages Remix SPA Mode to build your app as a Single-Page Application using Client Data for all of you data loads and mutations.

⚠️ This is built on top of the Remix Vite template. Remix support for Vite is currently unstable and not recommended for production.

📖 See the Remix Vite docs for details on supported features.

Setup

npx create-remix@latest --template remix-run/remix/templates/spa

Development

You can develop your SPA app just like you would a normal Remix app, via:

npm run dev

Production

When you are ready yo build a production version of your app, npm run build will generate your assets and an index.html for the SPA.

npm run build

You can serve this from any server of your choosing, for a simple example, you could use http-server:

npx http-server build/client/

About

Securely share zero-knowledge secrets via url or peer2peer sessions

Topics

Resources

Stars

Watchers

Forks