Modern browsers and Internet Explorer 9+ (with polyfills)
Server-side Rendering
IE / Edge
Firefox
Chrome
Safari
📦 Install
We recommend using npm to install,it not only makes development easier,but also allow you to take advantage of the rich ecosystem of Javascript packages and tooling.
$ npm install santd --save
If you are in a bad network environment,you can try other registries and tools like cnpm.
🔨 Usage
import san from 'san';import {DatePicker} from "santd";const App = san.defineComponent({ components: { 's-datepicker': DatePicker }, template: `<div><s-datepicker /></div>`});const myApp = new App();myApp.attach(document.body);
And import style manually:
import "santd/dist/santd.css"; // or 'santd/dist/santd.less'