|
|
2 年之前 | |
|---|---|---|
| preload | 2 年之前 | |
| public | 2 年之前 | |
| src | 2 年之前 | |
| .gitignore | 2 年之前 | |
| README.md | 2 年之前 | |
| index.html | 2 年之前 | |
| main.js | 2 年之前 | |
| package-lock.json | 2 年之前 | |
| package.json | 2 年之前 | |
| vite.config.js | 2 年之前 |
# 安装依赖
npm install --save-dev
npm install -g cnpm --registry=https://registry.npm.taobao.org
cnpm install --save-dev electron
npm init vite
# project name:随意填 readit
npm install
# 启动前端项目
npm run dev
# 打开 package.json ,script 处运行 debug, start 启动 electron
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.