Web starter using Vanilla JavaScript & CSS for learnjavascript.online
This boilerplate is provided at the end of the Learn JavaScript course.
First time
git clone https://github.com/jadjoubran/web-starter-vanilla.git
cd web-starter-vanilla
npm install
Then you can run the server
npm run serve
Browse to localhost:8080
This starter uses native browser modules with script type="module"
.
You can import other files, as long as you the path is correct, starts with a ./
and ends with .js
.
Note that you cannot import libraries installed with NPM as bare modules are not supported by browsers yet.