Vulk and Vite
Vulk uses Vite, which is a web development build tool that supports:
- a fast development environment with hot reload*(using
native javascript modules)* - building an optimized version for production*(using
rollup)* - native support for typescript
Under the hood, when running pnpm dev, it runs vite.
To learn more about this awesome tool made by the vue core team, check https://vitejs.dev. You will learn to:
- Add PostCSS pre-processors
- Integrate JSX
- Implement fancy Web Assembly code
- Add new asset path aliases
- And much more
Vite plugins in Vite
| Plugin | Usage |
|---|---|
| @vitejs/plugin-vue | Inject vue library and allow SFC files to work (*.vue) |
| @intlify/vite-plugin-vue-i18n | Does i18n resources pre-compilation / optimizations |
| vite-plugin-pages | Generate routes based on file system |
| unplugin-auto-import | Auto-Import modules since v1.2.0 |
| unplugin-vue-components | Autoloading vue components |
| unplugin-icons | Injects icons from different providers |
| unplugin-fonts | Inject webfonts from different providers |
| vite-plugin-radar | Inject snippets from analytics providers |
| vite-plugin-pwa | Generate manifest.json and register services worker to enable PWA |
| @unhead/addons/vite | Optimize Unhead usage since v1.4.0 |