An open API service indexing awesome lists of open source software.

https://github.com/tonylu110/vite-electron-cli


https://github.com/tonylu110/vite-electron-cli

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# vite-vue-electron

**This is a create vite + vue3 + electron template cli**

- Install the cli in global
```
// use npm install
npm install vite-vue-electron --global

// or use yarn
yarn add vite-vue-electron --global

// or use pnpm
pnpm install vite-vue-electron --global
```

- You can run to create a new template
```
vite-electron create
```

- After you can choose use like Windows 11 mica Windows
![](https://vkceyugu.cdn.bspapp.com/VKCEYUGU-0956b3c3-b4ed-405b-812d-b6b32dfbc322/b70305f1-9fc1-4b7d-a3fe-a991b910b92a.png)
It's preview
![](https://vkceyugu.cdn.bspapp.com/VKCEYUGU-0956b3c3-b4ed-405b-812d-b6b32dfbc322/22c2409d-9c89-4489-9bf0-ba60fe18e4bd.png)

- Choose your package manager
![](https://vkceyugu.cdn.bspapp.com/VKCEYUGU-0956b3c3-b4ed-405b-812d-b6b32dfbc322/bfd7df13-579c-48b1-803b-c764ea31fee5.png)

- Then finish create the project
![](https://vkceyugu.cdn.bspapp.com/VKCEYUGU-0956b3c3-b4ed-405b-812d-b6b32dfbc322/01eee27e-3bfb-4e6a-9379-1df807fef603.png)

- After create you need run to cd your project
```
cd
```

- And run to start this template with your package manager like
```
npm install
npm run electron:serve

// or
yarn
yarn electron:serve

// or
pnpm install
pnpm electron:serve
```

[**Click this to template reop link**](https://github.com/tonylu110/vite-vue-electron.git)