A fast, portable, flexible JavaScript component framework.
NPM:
$ npm i san
CDN:
<script src="https://unpkg.com/san@latest"></script>
<!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>
- san-devtools - Development tools for debugging applications
- san-router - SPA Router
- san-store - Application States Management
- san-update - Immutable Data Update
- san-ssr - SSR framework and utils
- santd - Components Library following the Ant Design specification
- san-mui - Material Design Components Library
- san-xui - A Set of UI Components that widely used on Baidu Cloud Console
- sanny - VSCode extension for SAN
- san-cli - A CLI tooling for rapid development
- san-loader - Webpack loader for single-file components
- san-factory - Component register and instantiation
- san-anode-utils - Util Functions for ANode
- san-test-utils - The unit testing utility library
Please visit document ChangeLog
San is MIT licensed.