A dead simple Solid.js starter template built with the following assumptions:
- You use
npm
- You use
ESLint
andStandardJS
- You use
TypeScript
Note: This project is inspired by
solidjs/templates/ts
but with some additional customisations.
To bootstrap a new project based on this template you can run:
npx degit lmammino/solidjs-template <name-of-your-project>
Then you can cd your new folder and run:
npm install
npm run dev
This will start a new dev server and run your project in dev mode.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
Builds the app for production to the dist
folder.
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.
Your app is ready to be deployed!
Used to trigger ESLint and validate your code style.
You can deploy the dist
folder to any static host provider (netlify, surge, now, etc.)
Everyone is very welcome to contribute to this project. You can contribute just by submitting bugs or suggesting improvements by opening an issue on GitHub.
Licensed under MIT License. © Luciano Mammino.