showing results for - "adding jquery to vuepress"
Lilou
12 Jul 2017
1export default ({ isServer }) => {
2  if (!isServer) {
3    // Register jQuery
4    window.$ = window.jQuery = require('jquery')
5    // Register your jQuery plugin
6    require('owl.carousel')
7    require('owl.carousel/dist/assets/owl.carousel.min.css')
8    require('owl.carousel/dist/assets/owl.theme.default.min.css')
9  }
10}
11