antv
1.0.0
企業級UI設計語言和基於VUE的實現。
中文讀書我
我們建議使用NPM或紗線安裝,它不僅使開發更容易,還可以使您利用JavaScript軟件包和工具的豐富生態系統。
$ npm install antv --save如果您處於不良網絡環境中,則可以嘗試其他寄存器和CNPM等工具。
在瀏覽器中添加script和link標籤,並使用全局變量antv 。
我們在antv/dist的NPM包裝中提供antv.js antv.css和antv.min.js antv.min.css 。
import Vue from 'vue'
import Antv from 'antv'
import 'antv/dist/antv.css'
Vue . use ( Antv )
new Vue ( {
el : '#app' ,
render ( ) {
return ( < v-button type = "primary" > Primary </ v-button > )
}
} )