# Solid





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

Deploy [#deploy]

<Steps>
  <Step>
    Build your project [#build-your-project]

    ```bash
    npm run build
    ```
  </Step>

  <Step>
    Deploy to Sample.app [#deploy-to-sampleapp]

    ```bash
    samplex deploy
    ```

    Or specify explicitly:

    ```bash
    samplex deploy ./dist
    ```
  </Step>
</Steps>

Solid Router [#solid-router]

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

<Callout type="info">
  No additional configuration needed — all unmatched routes serve `/index.html`.
</Callout>
