2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-05-17 02:29:37 +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 ({
Vue, // the version of Vue being used in the VuePress app
options, // the options for the root Vue instance
router, // the router instance for the app
siteData // site metadata
}) => {
console.log(options)
import vSelect from '../../src/components/Select';
export default ({Vue, options, router, siteData}) => {
Vue.component('v-select', vSelect);
}