Skip to content

A template for static single page, based on parcel.js, typescript and sass.

Notifications You must be signed in to change notification settings

HuijiFE/template-parcel-ts

Repository files navigation

Template Parcel

A template for static single page, based on parcel.js, typescript and sass.

Usage

Installation

clone [email protected]:HuijiFE/template-parcel-ts.git my-project
cd my-project
yarn

NOTE: It is recommend that yarn be used for installing dependencies.

Development

yarn serve

Configure the port and public url: edit the package.json and replace the port number in the script "start".

Production

  • Build the index.html, it's including the script and style files
yarn build
  • Only build the script file index.ts
yarn build:script
  • Only build the stylesheet file index.scss
yarn build:style
  • Build script and style sheet together
yarn build:assets

The files will be output to the directory "dist" in the project.

About

A template for static single page, based on parcel.js, typescript and sass.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published