luutrananhkhoa
VSCode ( text editor - where you'll code ) - Required
Node.js v16+ ( JavaScript environment to help you install Svelte later on ) - Required
Note for Ubuntu/Tuffix users: Refer to the instructions at the bottom of the page
Svelte Plugins ( after you've downloaded VSCode, open Extensions and search for Svelte to install the plugins - it helps you highlight code and autocomplete with Svelte syntax) - Required
Git ( for collaboration purpose and you'll need to use this in real world but not necessary for this project ) - Optional
Project Template Link
git clone https://github.com/acmCSUFDev/website-template.git in your terminal to clonenpm installnpm run devAfter you click on the link provided, you should see our beautiful Svelte template :) congrats 🤩
By default, sudo apt install nodejs will install node v10 which is incompatible with Svelte. To remedy this, first uninstall the existing nodejs and npm installation with sudo apt remove nodejs npm and install Node Version Manager using
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash
Afterwards, restart your terminal to load the new nvm command.
Now run nvm install 16 and nvm use 16 to install and set node v16 as the default version
Run node -v to verify the correct version is now in use