Vue-material: Error: Vue.use(VueMaterial)

Created on 6 Nov 2016  路  3Comments  路  Source: vuematerial/vue-material

Hello,

I'm evaluating framework alternatives, and wanted to test vue, and came across this repo which is the one I liked the most.

In the process of making a cordova app, I made a small test, just one page, referenced vue worked fine. Click on button and hello world, But when I tried to add vue-material like: Vue.use(VueMaterial) I got: plugin.apply is not a function

I'm not familiar with vue, so I have no idea what happened here.

Any ideas?

Cheers

question

Most helpful comment

How about:

Vue.use(VueMaterial.default)

All 3 comments

How about:

Vue.use(VueMaterial.default)

This fix worked for you?

Vue.use(VueMaterial.default) will no longer work on the next version. You should use Vue.use(VueMaterial) instead.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

diverted247 picture diverted247  路  3Comments

bryanspearman picture bryanspearman  路  3Comments

lovepluskaka picture lovepluskaka  路  3Comments

korylprince picture korylprince  路  3Comments

markus-s24 picture markus-s24  路  3Comments