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 runing pnpm dev
, it runs vite
.
To learn more about this awesome tool made by the vuejs 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/vite | Autoloading vue components |
unplugin-icons | Injects icons from differents providers |
vite-plugin-fonts | Inject webfonts from differents providers |
vite-plugin-radar | Inject snippets from analytics providers |
vite-plugin-pwa | Generate manifest.json and register services worker to enable PWA |