Solid-Start Commands
Mode
sh
solid start modeSet the rendering mode for solid to build for and use (ie. Client-Side Rendering (CSR), Server-Side Rendering (SSR), Static-Site Generation (SSG))
Options
| Option | Description |
|---|---|
<mode> | The rendering mode to use. One of the following: csr, ssr, ssg |
Route
sh
solid start routeCreates a new route file in the file routes directory.
Options
| Option | Description |
|---|---|
<path> | The path to the new route |
<name> | The name of the .tsx file to be generated |
Adapter
sh
solid start adapterUsed to setup a Solid-Start specific adapter.
Options
| Option | Description |
|---|---|
<name> | The name of the adapter string |
--force | Force setup the adapater |
Data
sh
solid start dataCreates a new data file at the given path
Options
| Option | Description |
|---|---|
<path> | The path to the new data file |
<name> | The name of the .data.ts file to be generated |