2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-06-16 09:10:33 +03:00

use local component for compatibility with SSR

This commit is contained in:
Jeff
2018-08-15 11:47:02 -07:00
parent d86610098f
commit f41ebdebb2
+4 -7
View File
@@ -1,8 +1,5 @@
export default ({ import vSelect from '../../src/components/Select';
Vue, // the version of Vue being used in the VuePress app
options, // the options for the root Vue instance export default ({Vue, options, router, siteData}) => {
router, // the router instance for the app Vue.component('v-select', vSelect);
siteData // site metadata
}) => {
console.log(options)
} }