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:
@@ -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)
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user