58
GitHub - baidu/san: San is a flexible JavaScript component framework
source link: https://github.com/baidu/san
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
SAN
A Flexible JavaScript Component Framework. HomePage
Download
NPM:
$ npm i san
CDN:
<script src="https://unpkg.com/san@latest"></script>
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 Library
- san-mui - Material Design Components Library
- san-xui - A Set of SAN UI Components that widely used on Baidu Cloud Console
ChangeLog
Please visit document ChangeLog
License
San is MIT licensed.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK