0.0.1-dev • Published 3 years ago
clickgo-native v0.0.1-dev
ClickGo Native
The software developed with ClickGo will run in Windows, Mac OS, Linux.
Installation
You can install directly using NPM:
$ npm i clickgo --saveOr install the developing (unstable) version for newest features:
$ npm i clickgo@dev --saveindex.html
<script src="https://cdn.jsdelivr.net/npm/@litert/loader@3.2.0/dist/loader.min.js?path=index"></script>index.js
import * as clickgo from 'clickgo';
async function run(): Promise<void> {
await clickgo.init();
await clickgo.task.run('app/');
}Node
import * as native from 'clickgo-native';
native.ready().then(function() {
native.run('./index.html');
}).catch(function(e) {
console.log(e);
});Note
ClickGo demand loading Vue, jszip, resize-observer, but DO NOT reference these JS and CSS files. ClickGo will automatically reference. You only need to import "clickgo" module.
Demo
Clone and npm run native.
Changelog
License
This library is published under Apache-2.0 license.