purease
v2.0.0
Published
Lightweight and user-friendly front-end library.
Readme
Purease
Lightweight and user-friendly front-end library.
Installation
To get started, set the loading path for the Purease module, then import your entry file.
index.html
<script type="importmap">
{
"imports": {
"purease": "https://cdn.jsdelivr.net/npm/[email protected]/dist/index.js"
}
}
</script>
<script type="module" src="index.js"></script>It can also carry parameters and global variables.
<script>
purease = {
'config': {
'cdn': 'https://cdn.jsdelivr.net',
},
'global': {},
};
</script>index.js
import * as purease from 'purease';
class Page extends clickgo.AbstractPage {
public async main(): Promise<void> {
// --- Write here ---
}
}
purease.launcher(Page);NPM
After installing with NPM, you'll get code hints.
$ npm i purease --save-devDemo
Clone and visit "dist/test/index.html".
License
This library is published under Apache-2.0 license.
Third-party licenses
LICENSE: CC Attribution License AUTHOR: Solar Icons
Header
Hamburger Menu SVG Vector
Close Square SVG Vector
Check
Page
Drawer
Popbtn
Top
Lnav
Hamburger Menu SVG Vector
Close Square SVG Vector
