Skip to content

yesnoruly/parcel-start

Repository files navigation

Parcel start

GitHub GitHub deployments PRs Welcome

A simple parcel starter template for plain websites.

Features

  • 📝 HTML Includer
  • 🔢 Autoprefixer
  • 🎡 Automatic deploy to gh-pages branch
  • 🔄 CSS reset

Demo

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:

  1. Check the branch name in the deploy.yml file
  2. In the package.json specify 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

awesome-parcel#examples