GithubHelp home page GithubHelp logo

hhy5277 / san Goto Github PK

View Code? Open in Web Editor NEW

This project forked from baidu/san

0.0 2.0 0.0 3.47 MB

San is a flexible JavaScript component framework

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

License: MIT License

HTML 2.80% JavaScript 91.43% CSS 0.55% Smarty 5.21%

san's Introduction

Logo

SAN

A Flexible JavaScript Component Framework. HomePage

NPM version Build Status Downloads License Issues

Download

NPM:

$ npm i san

CDN:

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

Dist Files Infomation

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

ChangeLog

Please visit document ChangeLog

License

San is MIT licensed.

san's People

Contributors

dafrok avatar erik168 avatar errorrik avatar franckchen avatar houyu01 avatar jiangjiu avatar jinzhubaofu avatar junmer avatar kekee000 avatar leeeeeem avatar leeight avatar leuisken avatar ludafa avatar luyuan avatar peterpanzh avatar sw811 avatar wangshuonpu avatar x-jray avatar

Watchers

 avatar  avatar

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.