TonPC64 / vue-spinkit

🌀 A collection of loading indicators animated with CSS for VueJS
http://vue-spinkit.surge.sh/
MIT License
110 stars 22 forks source link

any idea how to use this with nuxt.js? #19

Open thg303 opened 4 years ago

thg303 commented 4 years ago

Documentations are for Vue, any idea how to use this with nuxt.js?

yamaguchi-dai commented 3 years ago

(I'm sorry, I'm bad at English.) hi! i'm same issues.

i'm try this pattern , bad not work....

try this pattern and please result report

yarn add vue-spinkit

yarn add vue-runtime-helpers

plugins/plugin.js (new)

import Vue from 'vue'
import Spinner from 'vue-spinkit'
Vue.component('Spinner', Spinner)

nuxt.config

  plugins: [
    '@plugins/plugin',
  ],