mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
[Doc] update Vue.use usage
This commit is contained in:
@@ -6,8 +6,7 @@ import VantDoc from 'vant-doc';
|
||||
import isMobile from './utils/is-mobile';
|
||||
import './components/nprogress.css';
|
||||
|
||||
Vue.use(VueRouter);
|
||||
Vue.use(VantDoc);
|
||||
Vue.use(VueRouter).use(VantDoc);
|
||||
|
||||
const routesConfig = routes();
|
||||
|
||||
|
Reference in New Issue
Block a user