create-kmp-library 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -16
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,26 +1,17 @@
|
|
|
1
1
|
# create-kmp-library
|
|
2
2
|
|
|
3
|
-
通过 `npm create kmp-library` 快速创建 Kotlin Multiplatform library
|
|
3
|
+
通过 `npm create kmp-library` 快速创建 Kotlin Multiplatform library 模板工程(支持 KMP / CMP),并默认包含可运行的 Android / iOS 宿主 App。
|
|
4
4
|
|
|
5
|
-
##
|
|
6
|
-
|
|
7
|
-
- Node.js >= 18
|
|
8
|
-
- Xcode >= 16(仅 Apple Silicon)
|
|
5
|
+
## 效果
|
|
9
6
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
```sh
|
|
13
|
-
npm install
|
|
14
|
-
npm run build
|
|
15
|
-
node out.js
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
## 使用方式(发布后)
|
|
7
|
+
<img src="assets/img.png" alt="效果" width="600" />
|
|
19
8
|
|
|
9
|
+
## 使用方式
|
|
20
10
|
```sh
|
|
21
11
|
npm create kmp-library
|
|
22
12
|
```
|
|
23
13
|
|
|
24
|
-
##
|
|
14
|
+
## 环境要求
|
|
25
15
|
|
|
26
|
-
|
|
16
|
+
- Node.js >= 18
|
|
17
|
+
- Xcode >= 16(仅 Apple Silicon)
|