Need help with san?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

baidu
4.5K Stars 522 Forks MIT License 2.5K Commits 6 Opened issues

Description

A fast, portable, flexible JavaScript component framework

Services available

!
?

Need anything else?

Contributors list

Logo

SAN

A fast, portable, flexible JavaScript component framework.

NPM version License Build Status Coverage Status Issues

HomePage 网站

Download

NPM:

$ npm i san

CDN:


Dist Files Information

Quick Start

<title>Quick Start</title>
<script src="https://unpkg.com/[email protected]"></script>



<script>
    const MyApp = san.defineComponent({
        template: `
            <div>
                <input type="text" value="{=name=}">
                <p>Hello {{name}}!</p>
            </div>
        `
    });

    let myApp = new MyApp({
        data: {
            name: 'San'
        }
    });
    myApp.attach(document.body);
</script>

Examples

Document

Companions

ChangeLog

Please visit document ChangeLog

License

San is MIT licensed.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.