mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-02-26 04:40:10 +08:00
docs: update
This commit is contained in:
parent
79affdb87d
commit
9adc43cad6
18
README.md
18
README.md
@ -1,6 +1,6 @@
|
||||
# electron-vue-vite
|
||||
|
||||

|
||||
[](https://github.com/vitejs/awesome-vite)
|
||||

|
||||

|
||||

|
||||
@ -10,14 +10,6 @@
|
||||
|
||||
🥳 Real simple `Electron` + `Vue3` + `Vite2` boilerplate.
|
||||
|
||||
## Overview
|
||||
|
||||
This is a `Vite`-integrated `Electron` template built with simplification in mind.
|
||||
|
||||
The repo contains only the most basic files, dependencies and functionalities to ensure flexibility for various scenarios.
|
||||
|
||||
You need a basic understanding of `Electron` and `Vite` to get started. But that's not mandatory - you can learn almost all the details by reading through the source code. Trust me, this repo is not that complex. 😋
|
||||
|
||||
## Quick Start
|
||||
|
||||
```bash
|
||||
@ -36,6 +28,14 @@ You need a basic understanding of `Electron` and `Vite` to get started. But that
|
||||
|
||||

|
||||
|
||||
## Overview
|
||||
|
||||
This is a `Vite`-integrated `Electron` template built with simplification in mind.
|
||||
|
||||
The repo contains only the most basic files, dependencies and functionalities to ensure flexibility for various scenarios.
|
||||
|
||||
You need a basic understanding of `Electron` and `Vite` to get started. But that's not mandatory - you can learn almost all the details by reading through the source code. Trust me, this repo is not that complex. 😋
|
||||
|
||||
## Directory
|
||||
|
||||
A `dist` folder will be generated everytime when `dev` or `build` command is executed. File structure of `dist` is identical to the `packages` directory to avoid any potential path calculation errors.
|
||||
|
@ -1,6 +1,6 @@
|
||||
# electron-vue-vite
|
||||
|
||||

|
||||
[](https://github.com/vitejs/awesome-vite)
|
||||

|
||||

|
||||

|
||||
@ -10,16 +10,6 @@
|
||||
|
||||
🥳 `Electron` + `Vue3` + `Vite2` 整合模板 -- **结构简单,容易上手!**
|
||||
|
||||
## 概述
|
||||
|
||||
  这是一个追求精简的`Electron`类整合模板,只保持最基本的文件、最基本的依赖、最基本的功能;而不是大而全的、臃肿的设计。这样做的目的是能确保模板足够灵活。
|
||||
|
||||
所以说如果你是对 -- 工程模板追求精简的 Coder,或者刚入世的小白想弄明白`Electron`整合类模板最基础的工作原理,亦或者你是大神只是想偷懒少干点活;那么这个模板最合适你不过了。
|
||||
|
||||
尽管如此,我还是希望你对`Electron` `Vite`有一定的基础;因为除了项目结构简单外,这份`README`也显得 “精简” 。
|
||||
|
||||
模板的具体实现细节我相信你看两遍源码就能把它吃透了 😋
|
||||
|
||||
## 快速开始
|
||||
|
||||
```bash
|
||||
@ -38,6 +28,16 @@
|
||||
|
||||

|
||||
|
||||
## 概述
|
||||
|
||||
  这是一个追求精简的`Electron`类整合模板,只保持最基本的文件、最基本的依赖、最基本的功能;而不是大而全的、臃肿的设计。这样做的目的是能确保模板足够灵活。
|
||||
|
||||
所以说如果你是对 -- 工程模板追求精简的 Coder,或者刚入世的小白想弄明白`Electron`整合类模板最基础的工作原理,亦或者你是大神只是想偷懒少干点活;那么这个模板最合适你不过了。
|
||||
|
||||
尽管如此,我还是希望你对`Electron` `Vite`有一定的基础;因为除了项目结构简单外,这份`README`也显得 “精简” 。
|
||||
|
||||
模板的具体实现细节我相信你看两遍源码就能把它吃透了 😋
|
||||
|
||||
## 目录结构
|
||||
|
||||
  一旦启动或打包脚本执行过,会在根目录产生 **`dist` 文件夹,里面的文件夹同 `packages` 一模一样**;在使用一些路径计算时,尤其是相对路径计算;`dist` 与 `packages` 里面保持相同的目录结构能避开好多问题
|
||||
|
Loading…
x
Reference in New Issue
Block a user