deskrt
v2.0.10
Published
Quickly and easily create a beautiful console interface.
Downloads
59
Readme
DeskRT
Quickly and easily create a beautiful console interface.
Installation
Simply download and include with a script tag. DeskRT will be registered as a global variable.
Don’t use the minified version during development. You will miss out on all the nice warnings for common mistakes!
Development Version
<script src="dist/loader.js"></script>
Production Version
<script src="dist/loader.min.js"></script>
CDN (recommend)
Recommended: https://cdn.jsdelivr.net/npm/[email protected]/dist/loader.min.js (Less than 3kb minified and gzipped), which will reflect the latest version as soon as it is published to npm. You can also browse the source of the npm package at https://cdn.jsdelivr.net/npm/deskrt/.
Also available on unpkg.
For example:
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/loader.js"></script>
NPM
You can install directly using NPM:
$ npm i deskrt --save
Or install the developing (unstable) version for newest features:
$ npm i deskrt@dev --save
Note
DeskRT demand loading SystemJS, Vue, Vuex, highlight.js, whatwg-fetch and ElementUI, but DO NOT reference these JS and CSS files. DeskRT will automatically reference. You only need to reference "loader.js".
Demo
Clone and visit "dist/test/index.html".
Changelog
License
This library is published under Apache-2.0 license.