clickgo 4.0.3 → 4.0.5

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 CHANGED
@@ -20,7 +20,7 @@
20
20
 
21
21
  Build web and native apps using HTML + CSS.
22
22
 
23
- Apps compile into a single `.cga` file run it in the browser or locally via [ClickGo Native](https://github.com/maiyun/clickgo-native). Great for image editors, DB tools, file managers, admin panels, and more.
23
+ The app compiles into a single `.cga` file, running in the web or natively via [ClickGo Native](https://github.com/maiyun/clickgo-native). Build image editors, database tools, file browsers, or admin dashboards—all with ease.
24
24
 
25
25
  <p align="center">
26
26
  <img src="./doc/pic3.jpg" alt="ClickGo">
@@ -30,12 +30,12 @@ Apps compile into a single `.cga` file — run it in the browser or locally via
30
30
 
31
31
  ## Usage
32
32
 
33
- First, load the module loader, then load your app with it.
33
+ You'll need the [ClickGo Compiler](https://github.com/maiyun/clickgo-compiler) to compile the "app" folder into a .cga file. Then compile the entry file and reference it in the browser.
34
34
 
35
35
  **index.html**
36
36
 
37
37
  ```html
38
- <script src="https://cdn.jsdelivr.net/npm/@litert/loader@3.5.8/dist/loader.min.js?path=index&npm={'clickgo':'3.16.28'}"></script>
38
+ <script type="module" src="index.pack.js"></script>
39
39
  ```
40
40
 
41
41
  **index.js**
@@ -44,7 +44,7 @@ First, load the module loader, then load your app with it.
44
44
  import * as clickgo from 'clickgo';
45
45
  class Boot extends clickgo.AbstractBoot {
46
46
  public async main(): Promise<void> {
47
- await clickgo.task.run('xxx');
47
+ await clickgo.task.run(this._sysId, 'xxx.cga');
48
48
  }
49
49
  }
50
50
  clickgo.launcher(new Boot());
@@ -56,14 +56,13 @@ Use TypeScript? Install via NPM for full IntelliSense support.
56
56
 
57
57
  ```sh
58
58
  $ npm i clickgo --save-dev
59
- $ npm i @litert/loader --save-dev
60
59
  $ npm i jszip --save-dev
60
+ $ npm i vue --save-dev
61
61
  ```
62
62
 
63
63
  ## Notes
64
64
 
65
- ClickGo auto-loads Vue, jszip, and resize-observer.
66
- **Don't** include them manually — just import the `ClickGo` module.
65
+ ClickGo auto-loads Vue, jszip. **Don't** include them manually.
67
66
 
68
67
  ## Demo
69
68
 
package/dist/app/demo.cga CHANGED
Binary file
package/dist/app/task.cga CHANGED
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file