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