Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
R
rrpgLink_FrontEnd
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kesaubeeire
rrpgLink_FrontEnd
Commits
2da55aec
Commit
2da55aec
authored
Oct 20, 2023
by
KesaubeEire
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: readme.
parent
058b5f7b
Pipeline
#23789
canceled with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
10 deletions
+25
-10
README.md
README.md
+21
-6
src/Content.svelte
src/Content.svelte
+4
-4
No files found.
README.md
View file @
2da55aec
...
@@ -6,17 +6,29 @@
...
@@ -6,17 +6,29 @@
Svelte + daysiUI
Svelte + daysiUI
## 打包注意事项
## 开发
使用了
[
vite-plugin-env-command
](
https://www.npmjs.com/package/vite-plugin-env-command
)
进行打包简化
```
bash
```
bash
# 安装
npm
install
# 在 dev 模式下开发要在 vite.config.js 中
# 把 server -> proxy -> /api/ 中的 target
# 改为你能在本地浏览器访问到的 rrpg.duels.link 的网址
# 毕竟我是开了 NGINX 转发开发的, 比较迂回
# 这是 dev 模式开发
# 这是 dev 模式开发
npm run dev:dev
npm run dev:dev
# 这是 prod 模式开发
# 这是 prod 模式开发
npm run dev:prod
npm run dev:prod
```
## 打包注意事项
使用了
[
vite-plugin-env-command
](
https://www.npmjs.com/package/vite-plugin-env-command
)
进行打包简化
```
bash
# 这是 prod 模式打包
# 这是 prod 模式打包
npm run build:prod
npm run build:prod
```
```
...
@@ -25,11 +37,14 @@ npm run build:prod
...
@@ -25,11 +37,14 @@ npm run build:prod
-
[x] 刮削游戏 (后端部分)
-
[x] 刮削游戏 (后端部分)
-
[ ] 卡片展示
-
[ ] 卡片展示
-
[ ] 基础卡片
-
[x] 请求 php
-
[ ] 图片
-
[x] 展示基础卡片
-
[x] 图片
-
[ ] 中日切换
-
[ ] 中日切换
-
[ ] 语言
-
[ ] 语言
-
[ ] TAG 展示 & 搜索
-
[ ] TAG
-
[ ] 展示
-
[ ] 搜索
-
[x] 主题切换
-
[x] 主题切换
-
[x] 基础切换
-
[x] 基础切换
-
[x] localstorage 记忆
-
[x] localstorage 记忆
...
...
src/Content.svelte
View file @
2da55aec
...
@@ -68,8 +68,8 @@
...
@@ -68,8 +68,8 @@
raw_tags={item.tags}
raw_tags={item.tags}
/>
/>
{/each}
{/each}
<Card raw_tags="|示例1|示例2|"/>
<Card raw_tags="|示例1|示例2|"
/>
<Card raw_tags="|示例1|示例2|"/>
<Card raw_tags="|示例1|示例2|"
/>
<Card raw_tags="|示例1|示例2|"/>
<Card raw_tags="|示例1|示例2|"
/>
<Card raw_tags="|示例1|示例2|"/>
<Card raw_tags="|示例1|示例2|"
/>
</div>
</div>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment