Skip to content

maiyun/purease

Repository files navigation

Purease

Purease

License NPM stable version GitHub releases GitHub issues

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/purease@x.x.x/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-dev

Demo

Clone and visit "dist/test/index.html".

Click here to visit online.

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

Check SVG Vector

Page

More Horizontal SVG Vector

Drawer

Close SVG Vector

Popbtn

Top

Alt Arrow Up SVG Vector

Lnav

Hamburger Menu SVG Vector
Close Square SVG Vector

Icon

link

Square Top Down SVG Vector 6

language

Language SVG Vector

backspace

Backspace SVG Vector

switch

Switch SVG Vector

LICENSE: CC Attribution License AUTHOR: Dazzle UI

Icon

eye

Eye Slash Alt SVG

eye-alt

Eye Alt SVG Vector

LICENSE: Apache License AUTHOR: topcoat

Back Light SVG Vector

LICENSE: MIT License AUTHOR: sigurdarson

Date

Close SVG Vector

Daterange

Close SVG Vector

About

Lightweight and user-friendly front-end library.

Resources

License

Stars

Watchers

Forks

Packages

No packages published