Closed WenTao-Love closed 1 year ago
the version:1.0.7
import {CubeSpin} from 'vue-loading-spinner'
@nguyenvanduocit
import {CubeSpin} from 'vue-loading-spinner'
not work still say 'Error: Can't resolve 'vue-loading-spinner' xxx Module not found '
@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',
},
},
},
Does everything ok for you?
@nguyenvanduocit yes thanks your contribution ~ 😄
i have that error too, what i did copy the core and link to the page...
I have this problem, and i fix like this:
//App.vue
import Socket from 'vue-loading-spinner/src/components/Socket.vue'
@Component({
components: {
Socket
}
})
in my project -- App.vue `