san-for-swan
TypeScript icon, indicating that this package has built-in type declarations

3.7.9-fix.1 • Public • Published

Logo

SAN

A fast, portable, flexible JavaScript component framework.

NPM version License Build Status Coverage Status Issues

HomePage 网站

Download

NPM:

$ npm i san

CDN:

<script src="https://unpkg.com/san@latest"></script>

Dist Files Information

Quick Start

<!DOCTYPE html>
<html>
 
<head>
    <title>Quick Start</title>
    <script src="https://unpkg.com/san@latest"></script> 
</head>
 
<body>
    <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> 
</body>
 
</html>

Document

Companions

  • san-devtool - Chrome DevTool extension
  • san-router - SPA Router
  • san-store - Application States Management
  • san-update - Immutable Data Update
  • san-factory - Component register and instantiation
  • san-mui - Material Design Components Library
  • san-xui - A Set of SAN UI Components that widely used on Baidu Cloud Console
  • drei - VSCode extension for SAN

ChangeLog

Please visit document ChangeLog

License

San is MIT licensed.

Readme

Keywords

none

Package Sidebar

Install

npm i san-for-swan

Weekly Downloads

11

Version

3.7.9-fix.1

License

MIT

Unpacked Size

3.96 MB

Total Files

138

Last publish

Collaborators

  • zhanfang