ā”ļø Vue3, Vuetify3, Vite3, , Pinia, State Persistence, Pages, Layouts, Auto Import ['components, libs, plugins] , Macros, CSS Shortcuts, Themes, Firebase Authentication, VueJS best practices.
š Live preview
š File based routing
š Layout system
š„ APIs auto importing - use Composition API and others directly
š¤š» Use the new <script setup>
syntax
š¤š» Reactivity Transform enabled
š Dark / Light theme switch with persistance
@use 'vuetify';
.buttonClass {
@extend .text-white, .mx-2;
}
<VBtn class="buttonClass"> ... </VBtn>
import { Vue } from '@U/instanciateVue'
// Init Vue and set new user on auth changes.
auth.onAuthStateChanged(async user => {
Vue(user)
})
const modules = import.meta.globEager('@M/*.js')
export default app => Object.values(modules).map(m => m.install(app))
import { router } from '@M/routes'
export const install = app => {
const pinia = createPinia()
// Router can be used in any pinia store module.
pinia.use(({ store }) => {
store.router = markRaw(router)
})
app.use(pinia)
}
vite-plugin-pages
- file system based routingvite-plugin-vue-layouts
- layouts for pagesunplugin-vue-components
- components auto importunplugin-auto-import
- Directly use Vue Composition API and others without importingUse Composition API with <script setup>
SFC syntax
yarn install
yarn dev
yarn build