modules 添加web
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
# legado_web_editor
|
||||
|
||||

|
||||
|
||||
## 🚧开发注意
|
||||
|
||||
如果你想要调试项目 请修改文件`.env.development`里`VITE_API`为阅读web服务ip
|
||||
|
||||
## 路由
|
||||
|
||||
/rssSource 订阅源编辑
|
||||
/rssSource 书源编辑
|
||||
|
||||
## 🎨Project setup
|
||||
|
||||
```
|
||||
pnpm i
|
||||
```
|
||||
|
||||
### Compiles and hot-reloads for development
|
||||
```
|
||||
pnpm dev
|
||||
```
|
||||
|
||||
### Compiles and minifies for production
|
||||
```
|
||||
pnpm build
|
||||
```
|
||||
|
||||
### Lints and fixes files
|
||||
```
|
||||
pnpm lint
|
||||
```
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh" class="">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<script type="module" src="./main.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,6 @@
|
||||
import { createApp } from "vue";
|
||||
import App from "@/App.vue";
|
||||
import sourceRouter from "@/router";
|
||||
import store from "@/store";
|
||||
|
||||
createApp(App).use(store).use(sourceRouter).mount("#app");
|
||||
Reference in New Issue
Block a user