Skip to content

Vite + Vue 3 + Electron (Nuxt3-like Boilerplate using Electron Forge & included UnoCSS, Pinia, Iconify, SASS, Auto Imports, VueUse, Axios)

Notifications You must be signed in to change notification settings

jdkcoder/vue3-electronforge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Electron Forge: https://www.electronforge.io/

Installation

bun i
npm i
yarn install

Development

bun dev
npm run dev
yarn dev

Environment Variables

APP_NAME=
ENTRIES_PATH=src/entries
VITE_CONFIGS_PATH=src/vite

SCREEN_SIZE=  #1920x1080
F12_ON_FIRST_LOAD=0  #0 = false || 1 = true
AUTO_IMPORT=1  #0 = false || 1 = true

Routing

Using unplugin-vue-router

Layout

Using vite-plugin-vue-layouts

You can change layout in meta of route

definePage({
  name: 'index',
  meta: {
    layout: 'z', //your layout name must existing in path: 'src/layouts'
    requiresAuth: true,
  },
})

About

Vite + Vue 3 + Electron (Nuxt3-like Boilerplate using Electron Forge & included UnoCSS, Pinia, Iconify, SASS, Auto Imports, VueUse, Axios)

Topics

Resources

Stars

Watchers

Forks