Thanks for coming to our hands-on introduction to Web Components, lit-html and LitElement!
Please complete the following steps to get started. For any project we ask you to clone, clone them all to the same root project directory:
- Complete our Pre-Workshop Survey
- Install Git: Mac OSX & Linux Users | Windows Users
- Install Node.js at least v10.0.0. For Mac OSX & Linux Users, we recommend using NVM (Node Version Manager) to allow you to have different versions of Node.js on your machine and you also will not have to use
sudo
when runningnpm install
. If you wish to use NVM:
- Install NVM per their instructions
- Follow the instructions in your terminal
- Install the latest version of Node:
nvm install --lts
- Make sure subsequent commands you use use the latest version of Node with NVM:
nvm use --lts
(this will persist until you close your terminal tab)
- Install the Polymer CLI globally:
npm install -g polymer-cli
- Clone the wc-toast repo & follow the instructions on https://github.com/ComcastSamples/wc-toast to get the dependencies & repo set up
- Clone the wc-playground repo & run
npm install
to install dependencies - Clone the wc-components repo & follow the instructions on https://github.com/ComcastSamples/wc-components to get the dependencies & repo set up
If you use VSCode, we also recommend installing the lit-plugin
- Lars den Bakker & Pascal Schilp's lit-html workshop
- lit-html & lit-element: basics
- lit-html & lit-element: intermediate
Click here to view & download the slides
Please reach out to us on Twitter, we're happy to help :-)