Vite for Static Assets in Deno Projects
summary
Shows using Vite without Node/npm inside a Deno project to compile front-end TypeScript and Tailwind CSS, using Deno, Vite, PostCSS and Tailwind plus a lightweight Hono server. A custom npm install task generates a node_modules folder by dynamically importing npm specifiers from deno.json so Vite plugins run. The build step creates index.js and index.css in a dist folder (public SVGs copied), and the demo serves the generated assets and successfully applies Tailwind styles.
AI-written summary · about
chapters (4)
- 0:00Introduction to Vite and Deno
- 6:55Basic Deno and npm module demo
- 10:28Setting up Vite for static assets
- 16:28Summary and resources








