onsen & UI & vue & mobile UI
onsen & UI
vue & mobile UI
$ npm i onsenui vue-onsenui
# OR
$ npm i -S onsenui vue-onsenui
https://onsenui.github.io/vue-onsenui-kitchensink/
https://github.com/onsenui/vue-onsenui-kitchensink
// (2) Webpack CSS import
import 'onsenui/css/onsenui.css';
import 'onsenui/css/onsen-css-components.css';
// (2) JS import
import Vue from 'vue';
import VueOnsen from 'vue-onsenui';
// (3) And plug in the bindings
Vue.use(VueOnsen);
// That's it!
new Vue({
el: '#app',
template: '<v-ons-button>Click Me</v-ons-button>',
});
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/10874077.html
未经授权禁止转载,违者必究!