Commit 11d38676232def2008a66118e823e4c08b9e5f59
Committed by
GitHub
1 parent
3684e716
SSR support
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
src/components/select/dropdown.vue
... | ... | @@ -5,8 +5,7 @@ |
5 | 5 | import Vue from 'vue'; |
6 | 6 | const isServer = Vue.prototype.$isServer; |
7 | 7 | import { getStyle } from '../../utils/assist'; |
8 | - // const Popper = isServer ? function() {} : require('popper.js'); // eslint-disable-line | |
9 | - import Popper from 'popper.js'; | |
8 | + const Popper = isServer ? function() {} : require('popper.js/dist/umd/popper.js'); // eslint-disable-line | |
10 | 9 | |
11 | 10 | export default { |
12 | 11 | name: 'Drop', | ... | ... |