[Improvement] Toast: support Vue.use to register (#690)

This commit is contained in:
neverland
2018-03-14 11:47:46 +08:00
committed by GitHub
parent 8f2bd93786
commit 461b6732eb
11 changed files with 36 additions and 18 deletions

View File

@@ -8,10 +8,7 @@ const tips = '// This file is auto gererated by build/bin/build-entry.js';
function buildVantEntry() {
const uninstallComponents = [
'Lazyload',
'Waterfall',
'Toast',
'ImagePreview',
'Locale'
'Waterfall'
];
const importList = Components.map(name => `import ${uppercamelize(name)} from './${name}';`);