feat(cli): auto install all components

This commit is contained in:
陈嘉涵
2019-11-27 11:45:35 +08:00
parent fac1a85c87
commit e4f934dfde
13 changed files with 46 additions and 23 deletions

View File

@@ -1,6 +1,6 @@
import decamelize from 'decamelize';
import DemoHome from './components/DemoHome';
import { demos } from '../../dist/mobile-config';
import { demos } from 'mobile-entry';
const routes = [];
const names = Object.keys(demos);