Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amoutonbrady/snowpack-solid
https://github.com/amoutonbrady/snowpack-solid
Last synced: about 22 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/amoutonbrady/snowpack-solid
- Owner: amoutonbrady
- Created: 2020-10-16T17:50:30.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-07-02T20:39:59.000Z (over 3 years ago)
- Last Synced: 2024-10-02T09:53:21.544Z (about 1 month ago)
- Language: HTML
- Size: 940 KB
- Stars: 38
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Solid snowpack starter (+ tailwind 2)
Solid + snowpack + tailwindcss template
You get HMR out of the box and full PWA compatible.## Install
Regardless of how you chose to get the project installed locally, it's recommanded to use [pnpm](https://pnpm.js.org/) to install your dependencies. It's faster, safer and easier.
Once cloned, you can just run `pnpm install`.
### Using github template
Click on the **Use this template** green button at the top right
### Using degit
`npx degit amoutonbrady/solid-snowpack-starter new-dir`
## Configure
You don't have much configuration to do yourself. Out of the box everything should just work.
When building for production, you might want to change some assets regarding icons & app name. You can do so in the [public](./public) folder.
Most of the link I used to generate the PWA files are available in the [index.html](./public/index.html)## Available Scripts
### (p)npm run dev
Runs the app in the development mode.
Open http://localhost:8080 to view it in the browser.The page will reload if you make edits.
You will also see any lint errors in the console.### (p)npm run build
Builds a static copy of your site to the `build/` folder.
The build uses rollup for minimum file size output
Your app is ready to be deployed!### Q: What about Eject?
No eject needed! Snowpack guarantees zero lock-in.