nguyenvanduocit / vue-loading-spinner

Just another collection of loading spinners with Vue.js, alot of spinners
https://nguyenvanduocit.github.io/vue-loading-spinner/
685 stars 105 forks source link

error:To install it, you can run: npm install --save vue-loading-spinner/components/Cube #3

Closed WenTao-Love closed 1 year ago

WenTao-Love commented 7 years ago

in my project -- App.vue `

`
WenTao-Love commented 7 years ago

the version:1.0.7

nguyenvanduocit commented 7 years ago

import {CubeSpin} from 'vue-loading-spinner'

HotWordland commented 7 years ago

@nguyenvanduocit

import {CubeSpin} from 'vue-loading-spinner'

not work still say 'Error: Can't resolve 'vue-loading-spinner' xxx Module not found '

HotWordland commented 7 years ago

@WenTao-Love @nguyenvanduocit sorry after i execute

npm install --save vue-loading-spinner

and i compile get error that 'Module build fail xxx Can't resolve scss-loader xxx' fix it with add line to webpack.config.js file

{
    test: /\.vue$/,
    loader: 'vue-loader',
    options: {
        loaders: {
            scss: 'style-loader!css-loader!sass-loader',
            sass: 'style-loader!css-loader!sass-loader?indentedSyntax',
        },
    },
},
nguyenvanduocit commented 7 years ago

Does everything ok for you?

HotWordland commented 7 years ago

@nguyenvanduocit yes thanks your contribution ~ 😄

donPuerto commented 7 years ago

i have that error too, what i did copy the core and link to the page...

npilipovic86 commented 4 years ago

I have this problem, and i fix like this:


//App.vue

import Socket from 'vue-loading-spinner/src/components/Socket.vue'
@Component({
  components: {
    Socket
  }
})