Hello peasants,
if you want to use the hot-reloading (which is very handy), it will require you a bit of settuping but it'll be worth it:
- Download and install Node.js on your computer
- Open a command prompt and update npm with
npm install npm@latest -g
- Open a command prompt in your project's folder (where package.json is located)
- Run
npm i
(you only need to execute this once, it will download locally the dev server into thenode_modules
folder) - Whenever you start working on the project, execute
npm run dev
; this will start the dev server and reload the browser automatically whenever a change is made in the html, css or js files.