UNPKG

vue-ssr-carousel

Version:

A performance focused Vue carousel designed for SSR/SSG environments.

16 lines (13 loc) 342 B
import { join } from 'path' export default function() { // Allow components to be auto-imported by Nuxt this.nuxt.hook('components:dirs', dirs => { dirs.push({ path: join(__dirname), pattern: 'index.js', prefix: 'ssr-carousel', }) }) // Add the extracted CSS globally this.options.css.push('vue-ssr-carousel/index.css') }