Removed vue-owl-carousel imports
parent
b080592d39
commit
e22155b870
|
|
@ -49,14 +49,13 @@ import MusicRow from './MusicRow'
|
|||
import List from './List'
|
||||
import ListItem from '../components/ListItem'
|
||||
import Button from '../components/Button'
|
||||
import carousel from 'vue-owl-carousel'
|
||||
import MusicBox from '../components/MusicBox'
|
||||
import Scrollbar from 'smooth-scrollbar'
|
||||
import OverscrollPlugin from 'smooth-scrollbar/plugins/overscroll'
|
||||
Scrollbar.use(OverscrollPlugin)
|
||||
export default {
|
||||
name: 'HomePage',
|
||||
components: { ActionBar, MusicRow, List, ListItem, Button, carousel, MusicBox },
|
||||
components: { ActionBar, MusicRow, List, ListItem, Button, MusicBox },
|
||||
mounted () {
|
||||
let container = this.$el
|
||||
Scrollbar.init(container, { overscrollEffect: 'bounce', continuousScrolling: true })
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
<script>
|
||||
import MusicBox from '../components/MusicBox'
|
||||
import carousel from 'vue-owl-carousel'
|
||||
import Scrollbar from 'smooth-scrollbar'
|
||||
import HorizontalScrollPlugin from '../utility/HorizontalScrollPlugin'
|
||||
Scrollbar.use(HorizontalScrollPlugin)
|
||||
|
|
@ -17,7 +16,7 @@ Scrollbar.use(HorizontalScrollPlugin)
|
|||
export default {
|
||||
name: 'MusicRow',
|
||||
props: ['items', 'title'],
|
||||
components: { MusicBox, carousel },
|
||||
components: { MusicBox },
|
||||
mounted () {
|
||||
let container = this.$el.getElementsByClassName('items')[0]
|
||||
Scrollbar.init(container, { overscrollEffect: 'bounce', continuousScrolling: true, horizontal: true })
|
||||
|
|
|
|||
Loading…
Reference in New Issue