Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/ san Public
forked from baidu/san

百度San 是一个 MVVM 的组件框架。它体积小巧(12K),兼容性好(IE6),性能卓越,是一个可靠、可依赖的实现响应式用户界面的解决方案。San is a flexible JavaScript component framework

License

Notifications You must be signed in to change notification settings

baidule/san

Repository files navigation

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.

About

百度San 是一个 MVVM 的组件框架。它体积小巧(12K),兼容性好(IE6),性能卓越,是一个可靠、可依赖的实现响应式用户界面的解决方案。San is a flexible JavaScript component framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 91.9%
  • Smarty 4.9%
  • HTML 2.7%
  • CSS 0.5%

AltStyle によって変換されたページ (->オリジナル) /