kapix-vite-plugin-vue-layouts
v2.0.0
Published
Router based layout plugin for Vite and Vue
Downloads
155
Readme
Checklist
When you use this template, try follow the checklist to update your info properly
- [ ] Rename
name
field inpackage.json
- [ ] Change the author name in
LICENSE
- [ ] Change the title, description etc... in
app-info.json
- [ ] Change the favicon in
public
And, enjoy :)
Usage
Comands
yarn start
Build
To build the App, run
yarn build
And you will see the generated file in dist
that ready to be served.
Deploy on Netlify
Go to Netlify and select your clone, OK
along the way, and your App will be live in a minute.
Extension liste
The list of extension is in File .extension TypeScript Vue Plugin (Volar)
Features
📲 PWA
🔥 Use the new
<script setup>
syntax📥 APIs auto importing - use Composition API and others directly
🖨 Server-side generation (SSG) via vite-ssg
🦾 TypeScript, of course
⚙️ E2E Testing with Cypress on GitHub Actions
☁️ Deploy on Netlify, zero-config
Pre-packed
Icons
- Iconify - use icons from any icon sets 🔍Icônes
unplugin-icons
- icons as Vue components
Plugins
- Vue Router
vite-plugin-pages
- file system based routingkapix-vite-plugin-vue-layouts
- layouts for pages
- Pinia - Intuitive, type safe, light and flexible Store for Vue using the composition api
unplugin-vue-components
- components auto importunplugin-auto-import
- Directly use Vue Composition API and others without importingvite-plugin-pwa
- PWA- Vue I18n - Internationalization
vite-plugin-vue-i18n
- Vite plugin for Vue I18n
- VueUse - collection of useful composition APIs
@vueuse/head
- manipulate document head reactively
Coding Style
- Use Composition API with
<script setup>
SFC syntax - ESLint with @antfu/eslint-config, single quotes, no semi.
Dev tools
- TypeScript
- Cypress - E2E Testing
- yarn - fast, disk space efficient package manager
- pnpm - fast, disk space efficient package manager
vite-ssg
- Server-side generation- critters - Critical CSS
- Netlify - zero-config deployment
- VS Code Extensions
- Vite - Fire up Vite server automatically
- Volar - Vue 3
<script setup>
IDE support - Iconify IntelliSense - Icon inline display and autocomplete
- i18n Ally - All in one i18n support
- ESLint
Community
- vitesse-addons by @johncampionjr - additional options for integrations, including Prettier and Storybook
- vitesse-ssr-template by @frandiox - Vitesse with SSR
- vitespa by @ctholho - Like Vitesse but without SSG/SSR
- vitailse by @zynth17 - Like Vitesse but with TailwindCSS
- vitesse-modernized-chrome-ext by @xiaoluoboding - ⚡️ Modernized Chrome Extension Manifest V3 Vite Starter Template
- vitesse-stackter-clean-architect by @shamscorner - A modular clean architecture pattern in vitesse template