- I highly recommend using Linux or WSL for web development, however this step is optional and all install links will be provided below. If you would look to install WSL with a customized terminal look and feel, follow my guide here.
$ sudo apt-get install -y nodejs
- Recommended VSCode extensions:
Create a folder and enter into the directory:
$ mkdir open-wc-demo $ cd open-wc-demo
NPM install Open-WC
$ npm init @open-wc
Select "Scaffold a new project" using the enter key.
Select "Web Component" using the enter key.
Select All (Linting, Testing, & Demoing) by pressing "a" and then enter key.
Select Yes to write the file structure to the disk.
Then, select "Yes, with npm" to install all dependencies.
Lastly, to test if everything works run