EJS-TailwindCSS-Practice Tailwind Templates

Ejs Tailwindcss Practice

EJS-TailwindCSS

This is just some personal notes for trial testing of EJS, npm and TailwindCSS during the discussion in Code MNL

Technologies

  • Node.js
  • EJS
  • Express
  • Express EJS Layouts
  • Tailwind

How to use

npm install

npm run start // npm run dev

Compile Tailwind CSS

npm run devcss

Important Codes to remember, FOR SELF

npm init -y

npm install autoprefixer ejs express express-ejs-layouts path postcss nodemon postcss-cli tailwindcss

npm install --save-dev nodemon postcss-cli tailwindcss

npx tailwindcss -i public/assets/styles/global.css -o public/assets/styles/style.css --watch

Notes to self:

What's the use of postcss?

---Added postcss config file and the devcss worked. Add manualy.

Top categories

Loading Svelte Themes