mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 02:31:21 +00:00
去除less依赖
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import Sample from '../packages/sample/index.js';
|
||||
import Button from '../packages/button/index.js';
|
||||
import Switch from '../packages/switch/index.js';
|
||||
import Field from '../packages/field/index.js';
|
||||
@@ -11,7 +10,6 @@ import '../packages/zenui/src/index.pcss';
|
||||
const install = function(Vue) {
|
||||
if (install.installed) return;
|
||||
|
||||
Vue.component(Sample.name, Sample);
|
||||
Vue.component(Button.name, Button);
|
||||
Vue.component(Switch.name, Switch);
|
||||
Vue.component(Field.name, Field);
|
||||
@@ -28,7 +26,6 @@ if (typeof window !== 'undefined' && window.Vue) {
|
||||
module.exports = {
|
||||
install,
|
||||
version: '0.0.1',
|
||||
Sample,
|
||||
Button,
|
||||
Switch,
|
||||
Field,
|
||||
|
Reference in New Issue
Block a user