Sample.app
Framework Guides

Solid

Deploy a Solid (Vite) project to Sample.app.

Solid apps use Vite under the hood and output to dist/ by default, which the CLI auto-detects.

Deploy

Build your project

npm run build

Deploy to Sample.app

samplex deploy

Or specify explicitly:

samplex deploy ./dist

Solid Router

If you're using @solidjs/router, Sample.app's SPA fallback handles client-side routing automatically.

No additional configuration needed — all unmatched routes serve /index.html.

On this page