W
W
WebNub2017-05-21 01:09:21
JavaScript
WebNub, 2017-05-21 01:09:21

Vuejs not working vue-material?

Installed vue-material in the vue-cli project https://vuematerial.github.io/#/getting-started
connected like this:
var VueMaterial = require('vue-material')
Vue.use(VueMaterial)
as a result, such a picture 7eb09e8bf9e24a1aadef375f4d9e8e54.png
as connect correctly?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Kitmanov, 2017-05-21
@WebNub

Apparently, the styles are not connected. Look, there are examples everywhere

<link rel="stylesheet" href="path/to/vue-material.css">
(the path is fake, obviously). And in CodePens, if you go to the settings, you can see what is connected
https://unpkg.com/[email protected]/dist/vue-material.css
.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question