@thanhphi/create-360-miniapp 0.2.2 → 0.2.3
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 +2 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,11 +23,9 @@ Project được tạo sẵn gồm TypeScript, navigation, đăng nhập qua hos
|
|
|
23
23
|
Cú pháp tổng quát:
|
|
24
24
|
|
|
25
25
|
```sh
|
|
26
|
-
npx @thanhphi/create-360-miniapp@latest
|
|
26
|
+
npx @thanhphi/create-360-miniapp@latest <PROJECT_NAME> --module <MODULE_NAME> --app-code <APPCODE> --port <PORT>
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
Thay các giá trị trong `[...]` bằng thông tin của app, không giữ dấu ngoặc vuông khi chạy lệnh:
|
|
30
|
-
|
|
31
29
|
| Tham số | Ý nghĩa |
|
|
32
30
|
| --- | --- |
|
|
33
31
|
| `PROJECT_NAME` | Tên thư mục và npm package, viết thường và nối bằng dấu gạch ngang |
|
|
@@ -50,7 +48,7 @@ Lệnh cuối mở Re.Pack dev server. Để xem giao diện, mở app đã đă
|
|
|
50
48
|
Có thể tạo project bằng npm create thay cho npx:
|
|
51
49
|
|
|
52
50
|
```sh
|
|
53
|
-
npm create @thanhphi/360-miniapp@latest
|
|
51
|
+
npm create @thanhphi/360-miniapp@latest <PROJECT_NAME> -- --module <MODULE_NAME> --app-code <APPCODE> --port <PORT>
|
|
54
52
|
```
|
|
55
53
|
|
|
56
54
|
Ví dụ tương ứng:
|