GithubHelp home page GithubHelp logo

ankingone / san Goto Github PK

View Code? Open in Web Editor NEW

This project forked from baidu/san

0.0 1.0 0.0 5.16 MB

A fast, portable, flexible JavaScript component framework

Home Page: https://baidu.github.io/san/

License: MIT License

HTML 2.43% JavaScript 93.26% CSS 0.39% Smarty 3.56% TypeScript 0.36%

san's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.