0.0.1-dev • Published 1 year ago

clickgo-native v0.0.1-dev

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
1 year ago

ClickGo Native

npm version npm version npm version License GitHub issues GitHub Releases GitHub Pre-Releases

The software developed with ClickGo will run in Windows, Mac OS, Linux.

Installation

You can install directly using NPM:

$ npm i clickgo --save

Or install the developing (unstable) version for newest features:

$ npm i clickgo@dev --save

index.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

Changelog

License

This library is published under Apache-2.0 license.

0.0.3-dev3

1 year ago

0.0.2-dev2

2 years ago

0.0.1-dev

2 years ago