clickgo-native
TypeScript icon, indicating that this package has built-in type declarations

0.0.1-dev • Public • Published

ClickGo Native

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.

Readme

Keywords

Package Sidebar

Install

npm i clickgo-native

Weekly Downloads

1

Version

0.0.1-dev

License

Apache-2.0

Unpacked Size

58.2 kB

Total Files

6

Last publish

Collaborators

  • hanguoshuai