3

After creating a fresh new project using vue create, I would like to integrate vue material, from vuematerial.io.

I installed, via npm, the package

npm install vue-material --save

But then when I reach the following instruction I don't know what to do

It's optional, but to have the best experience possible, use Roboto and Google Icons from Google CDN:

<link rel="stylesheet" href="//fonts.googleapis.com/css?> 
   family=Roboto:400,500,700,400italic|Material+Icons">

Where is supposed I add this line?

I've no .thtml file, I have a main.js, App.vue, HelloWorld.vue, but no .html.

How to integrate it with a base .vue project?

4
  • 2
    I advise against using vue-material, I started with it and had to switch to Vuetify as the vue-material projects progress has all but halted and is incomplete. www.vuetifyjs.com Commented Apr 9, 2019 at 7:14
  • 1
    "Where is supposed I add this line?" 👈 typically in public/index.html Commented Apr 9, 2019 at 7:16
  • 1
    @MarcNewton: last 1.0 beta has been release on 15 May 2018. I see your point and I'll try www.vuetifyjs.com. Thanks a lot for your warning !! Commented Apr 9, 2019 at 7:23
  • I would also go with vuetify. Also packages Like vue-meta are around to change <head> dynamicly Commented Jul 20, 2020 at 15:33

1 Answer 1

2

Thanks to @Phil

I didn't see the public/index.html.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.