Here we will be using Vite to build and test vanilla web-components.
- Run
npm install
to install all dependencies. - Generate self signed certificate with
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365
and place it in the root/.cert folder. - Run in terminal
npm run dev
to start the Vite development server. - Click on the link provided in the terminal to open the app in the browser.
Local: https://localhost:5173/