How to use CSS modules with Vite | postcss modules

Published: 19 May 2022
on channel: Richard Oliver Bray
27,110
269

CSS Modules are definitely the best way to use CSS for a modern javascript project and it's nice to know that Vite lets you use it out of the box without downloading any extra dependencies. This video will explain what the Vite docs don't and show you how to properly use CSS modules in your project.
---

☕️ Buy me a Coffee ► https://ko-fi.com/richardoliverbray
🐦 Follow me on Twitter ►   / ceiga  

---
CSS modules configuration file ► https://vitejs.dev/config/shared-opti...

#webdevelopment #javascript #vite #react #typescript


Watch video How to use CSS modules with Vite | postcss modules online without registration, duration hours minute second in high quality. This video was added by user Richard Oliver Bray 19 May 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 27,110 once and liked it 269 people.