jadjoubran / web-starter-parcel

Web starter using Parcel for "Learn JavaScript"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Web Starter Parcel

Web starter using ParcelJS for learnjavascript.online

This boilerplate is provided at the end of the Learn JavaScript course.

Setup

First time

git clone https://github.com/jadjoubran/web-starter-parcel.git
cd web-starter-parcel
npm install

Then you can run the server

npm run serve

Browse to localhost:1234

Parcel

This starter uses parcel (v2) to bundle your scripts.

You can import other files. Make sure you have the correct path. You can also import libraries installed with NPM. We already included an example for you with date-fns. Feel free to remove it if you don't need it.

Build for production

When you're ready to deploy, you can build for production with the following command:

npm run build

About

Web starter using Parcel for "Learn JavaScript"

License:MIT License


Languages

Language:HTML 46.3%Language:CSS 32.8%Language:JavaScript 20.9%