naive-ui/packages/addons/ThemeController.js
2019-12-17 10:50:23 +08:00

11 lines
227 B
JavaScript

export default {
install: function install (Vue) {
if (!Vue.prototype.$naive) {
Vue.prototype.$naive = {}
}
const naive = Vue.prototype.$naive
console.info('naive theme', naive)
// naive.theme
}
}