https://github.com/jadjoubran/web-starter-parcel
Web starter using Parcel for "Learn JavaScript"
https://github.com/jadjoubran/web-starter-parcel
Last synced: 7 months ago
JSON representation
Web starter using Parcel for "Learn JavaScript"
- Host: GitHub
- URL: https://github.com/jadjoubran/web-starter-parcel
- Owner: jadjoubran
- License: mit
- Created: 2020-04-06T14:10:37.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T10:36:34.000Z (over 2 years ago)
- Last Synced: 2025-03-27T22:47:40.927Z (7 months ago)
- Language: HTML
- Size: 2.02 MB
- Stars: 25
- Watchers: 1
- Forks: 5
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Web Starter Parcel
Web starter using ParcelJS for learnjavascript.online
This boilerplate is provided at the end of the [Learn JavaScript](https://learnjavascript.online) course.
## Setup
**First time**
```bash
git clone https://github.com/jadjoubran/web-starter-parcel.git
cd web-starter-parcel
npm install
```
**Then you can run the server**
```bash
npm run serve
```
Browse to [localhost:1234](http://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:
```bash
npm run build
```