Parcel start
February 15, 2023 ยท View on GitHub
A simple parcel starter template for plain websites.
Features
- ๐ HTML Includer
- ๐ข Autoprefixer
- ๐ก Automatic deploy to gh-pages branch
- ๐ CSS reset
Demo
Quick start
npm install:
Install the dependencies.
npm run dev:
Run the app, you can view the app by visiting http://localhost:1234/.
npm run build:
Builds the website for production to the dist folder.
Github Pages Deploy
If you want to deploy your website on gh-pages, you need to:
- Check the branch name in the
deploy.ymlfile - In the
package.jsonspecify the following fields:
"homepage": "https://%your-name%.github.io/%rep-name%",
"scripts": {
"build": "parcel build src/*.html --public-url /%rep-name%/"
}
Related
Here are some related projects