🦄Awesome TailwindCSS

our stack is VILT, so we use CSS TailwindCSS we now install these packages inside the Laravel app we created in the last step but before we start we need to install NPM & Yarn

curl -fsSL https://deb.nodesource.com/setup_16.x | sudo bash -
sudo apt install -y nodejs vim
sudo apt install gcc g++ make
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null
echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update && sudo apt install yarn

now it's installed, let's start to build our frontend assets, first install TailwindCSS

yarn 
yarn watch

you can make your edits on the frontend file inside resources/js

Awesome Resources for Tailwind

Last updated