19 lines
536 B
Markdown
19 lines
536 B
Markdown
|
# Lightning
|
||
|
|
||
|
:electric_plug: Ride the lightning :metal:
|
||
|
|
||
|
`npm install` (or `pnpm install` or `yarn`)
|
||
|
|
||
|
```bash
|
||
|
npm run dev
|
||
|
|
||
|
# or start the server and open the app in a new browser tab
|
||
|
npm run dev -- --open
|
||
|
```
|
||
|
|
||
|
## Building
|
||
|
|
||
|
Solid apps are built with _adapters_, which optimise your project for deployment to different environments.
|
||
|
|
||
|
By default, `npm run build` will generate a Node app that you can run with `npm start`. To use a different adapter, add it to the `devDependencies` in `package.json` and specify in your `vite.config.js`.
|