Skip to content

Commit aecf97b

Browse files
committed
更新 README
1 parent e736d64 commit aecf97b

6 files changed

Lines changed: 56 additions & 20 deletions

File tree

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,7 @@ terser.cache.json
1111

1212
# 忽略其他
1313
reset.sh
14-
memo.md
14+
memo.md
15+
16+
# 保留編譯結果資料夾
17+
!dist/

.npmignore

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,18 @@ Icon?
1212
.gitignore
1313

1414
# 忽略源碼
15-
src
15+
src/
16+
17+
# 忽略介紹用 html
18+
static/
19+
index.html
20+
doc.html
1621

1722
# 忽略其他
1823
reset.sh
1924
memo.md
25+
terser.cache.json
26+
terser.config.json
27+
28+
# 保留編譯後的 dist
29+
!dist/

README.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# QuickUI (JavaScript Library)
1+
<img src="./static/image/logo.png" width=80>
2+
3+
# QuickUI
24

35
(Formerly known as PDQuickUI, renamed to QuickUI starting from version `0.6.0`)
46

@@ -689,7 +691,7 @@ Examples: `:background-color`, `:opacity`, `:margin`, `:top`, `:position`... |
689691
<body id="app">
690692
<h1>{{ i18n.greeting }}, {{ i18n.username }}: {{ username }}</h1>
691693
<button @click="change" data-lang="zh">切換至中文</button>
692-
<button @click="change" data-lang="zn">Switch to English</button>
694+
<button @click="change" data-lang="en">Switch to English</button>
693695
</body>
694696
<script>
695697
const app = new QUI({
@@ -720,15 +722,15 @@ Examples: `:background-color`, `:opacity`, `:margin`, `:top`, `:position`... |
720722
<body id="app">
721723
<h1>你好, 用戶名: Pardn</h1>
722724
<button data-lang="zh">切換至中文</button>
723-
<button data-lang="zn">Switch to English</button>
725+
<button data-lang="en">Switch to English</button>
724726
</body>
725727
```
726728
- result `i18nLang = en`
727729
```html
728730
<body id="app">
729731
<h1>Hello, Username: Pardn</h1>
730732
<button data-lang="zh">切換至中文</button>
731-
<button data-lang="zn">Switch to English</button>
733+
<button data-lang="en">Switch to English</button>
732734
</body>
733735
```
734736
@@ -816,6 +818,13 @@ Examples: `:background-color`, `:opacity`, `:margin`, `:top`, `:position`... |
816818
817819
This project is licensed under the [MIT License](https://github.com/pardnchiu/PDMarkdownKit/blob/main/LICENSE).
818820
821+
## Obtain Complete Source Code
822+
823+
[Contact me](mailto:dev@pardn.io) for the complete unobfuscated source code.<br>
824+
Feel free to modify and use for commercial purposes with the following licensing options:
825+
- Must retain `Powered by @pardnchiu/quickui` copyright notice: $7,500.
826+
- Fully autonomous, no copyright notice required: $10,000.
827+
819828
***
820829
821830
©️ 2024 [邱敬幃 Pardn Chiu](https://www.linkedin.com/in/pardnchiu)

README.zh.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
<img src="./static/image/logo.png" width=80>
2+
13
# QuickUI
24

35
*(原名:PDQuickUI,自 `0.6.0` 版本起更名為 QuickUI)*
@@ -686,7 +688,7 @@
686688
<body id="app">
687689
<h1>{{ i18n.greeting }}, {{ i18n.username }}: {{ username }}</h1>
688690
<button @click="change" data-lang="zh">切換至中文</button>
689-
<button @click="change" data-lang="zn">Switch to English</button>
691+
<button @click="change" data-lang="en">Switch to English</button>
690692
</body>
691693
<script>
692694
const app = new QUI({
@@ -717,15 +719,15 @@
717719
<body id="app">
718720
<h1>你好, 用戶名: 帕登</h1>
719721
<button data-lang="zh">切換至中文</button>
720-
<button data-lang="zn">Switch to English</button>
722+
<button data-lang="en">Switch to English</button>
721723
</body>
722724
```
723725
- result `i18nLang = en`
724726
```html
725727
<body id="app">
726728
<h1>Hello, Username: 帕登</h1>
727729
<button data-lang="zh">切換至中文</button>
728-
<button data-lang="zn">Switch to English</button>
730+
<button data-lang="en">Switch to English</button>
729731
</body>
730732
```
731733
@@ -813,6 +815,13 @@
813815
814816
本專案依據 [MIT](https://github.com/pardnchiu/PDMarkdownKit/blob/main/LICENSE) 授權使用。
815817
818+
## 獲取完整原始碼
819+
820+
[聯絡我](mailto:dev@pardn.io) 獲取完整未混淆源碼<br>
821+
可隨意修改、商業使用,根據需求選擇授權版本:
822+
- 需保留 `Powered by @pardnchiu/quickui` 的版權聲明:$7,500
823+
- 完全自主,無需添加版權聲明:$10,000
824+
816825
***
817826
818827
©️ 2024 [邱敬幃 Pardn Chiu](https://www.linkedin.com/in/pardnchiu)

package.json

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pardnchiu/quickui",
3-
"version": "0.6.0",
3+
"version": "0.6.1",
44
"description": "A web frontend framework that supports conditional and loop rendering, data binding, monitoring data changes, and automatic rendering. Previously known as QuickUI.",
55
"main": "dist/QuickUI.js",
66
"module": "dist/QuickUI.esm.js",
@@ -16,12 +16,8 @@
1616
},
1717
"files": [
1818
"dist",
19-
"static",
20-
"index.html",
21-
"src/interface.ts",
2219
"LICENSE",
23-
"README.md",
24-
"DEPRECATION.md"
20+
"README.md"
2521
],
2622
"repository": {
2723
"type": "git",
@@ -37,11 +33,20 @@
3733
"loop-rendering",
3834
"conditional-rendering"
3935
],
40-
"author": "邱敬幃 Pardn Chiu",
36+
"author": {
37+
"name": "邱敬幃 Pardn Chiu",
38+
"email": "dev@pardn.io",
39+
"url": "https://github.com/pardnchiu"
40+
},
4141
"license": "MIT",
4242
"bugs": {
4343
"url": "https://github.com/pardnchiu/QuickUI/issues",
4444
"email": "dev@pardn.io"
4545
},
46-
"homepage": "https://github.com/pardnchiu/QuickUI#readme"
46+
"homepage": "https://github.com/pardnchiu/QuickUI#readme",
47+
"devDependencies": {
48+
"chokidar-cli": "3.0.0",
49+
"terser": "5.31.3",
50+
"sass": "1.62.0"
51+
}
4752
}

static/md/i18n.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<body id="app">
1717
<h1>{{ i18n.greeting }}, {{ i18n.username }}: {{ username }}</h1>
1818
<button @click="change" data-lang="zh">切換至中文</button>
19-
<button @click="change" data-lang="zn">Switch to English</button>
19+
<button @click="change" data-lang="en">Switch to English</button>
2020
</body>
2121
<script>
2222
const app = new QUI({
@@ -47,14 +47,14 @@
4747
<body id="app">
4848
<h1>你好, 用戶名: 帕登</h1>
4949
<button data-lang="zh">切換至中文</button>
50-
<button data-lang="zn">Switch to English</button>
50+
<button data-lang="en">Switch to English</button>
5151
</body>
5252
```
5353
- result `i18nLang = en`
5454
```html
5555
<body id="app">
5656
<h1>Hello, Username: 帕登</h1>
5757
<button data-lang="zh">切換至中文</button>
58-
<button data-lang="zn">Switch to English</button>
58+
<button data-lang="en">Switch to English</button>
5959
</body>
6060
```

0 commit comments

Comments
 (0)