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 installThen you can run the server
npm run serveBrowse to localhost:8080
This starter uses native browser modules with sctipt 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.