32 lines
832 B
Markdown
32 lines
832 B
Markdown
## Install
|
|
|
|
```bash
|
|
# Javascript template
|
|
$ npx degit amoutonbrady/vite-template-solid/js#main my-solid-project
|
|
# Typescript template
|
|
$ npx degit amoutonbrady/vite-template-solid/ts#main my-solid-project
|
|
```
|
|
|
|
## Available Scripts
|
|
|
|
In the project directory, you can run:
|
|
|
|
### `npm start`
|
|
|
|
Runs the app in the development mode.<br>
|
|
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
|
|
|
|
The page will reload if you make edits.<br>
|
|
|
|
### `npm run build`
|
|
|
|
Builds the app for production to the `dist` folder.<br>
|
|
It correctly bundles Solid in production mode and optimizes the build for the best performance.
|
|
|
|
The build is minified and the filenames include the hashes.<br>
|
|
Your app is ready to be deployed!
|
|
|
|
## Deployment
|
|
|
|
You can deploy the `dist` folder to any static host provider (netlify, surge, now, etc.)
|