A step-by-step workshop to build a Svelte application, all while learning Svelte fundamentals.
In order to maximize our time during the workshop, please complete the following tasks in advance:
The more prepared you are for the workshop, the better it will go for you! 👍
All of these must also be available in your PATH
in order to be run globally. To verify things are set up properly, run:
git --version
node --version
npm --version
If you have a lower version of node installed, and do not wish to upgrade your node version, you can install nvm
to manage multiple versions of node.
If you have trouble with any of these, learn more about the PATH
environment variable and how to fix it here for Windows or Mac/Linux.
After you have verified that you have the proper tools installed (and at the proper versions), getting setup should be a breeze. Run the following commands:
git clone https://github.com/tanhauhau/svelte-workshop.git
cd svelte-workshop
npm run setup
This will likely take a few minutes to run. It will clone the repo, install all of the JavaScript dependencies needed to build our app, and setup our workshop dev directory.
If it fails, please read through the error logs and see if you can figure out what the problem is. Double check that you have the proper system requirements installed. If you are unable to figure out the problem on your own, please feel free to file an issue with everything (and I mean everything) from the output of the commands you ran.