node.js - Vue: Backcolor doesn't change -


i'm trying use vue-material first time , when tried change background color on default theme, not change color , background color turns white. i'm doing following:

import vue 'vue'  import vuematerial 'vue-material'  import app './app'  vue.use(vuematerial)  vue.material.registertheme({   default: {     primary: 'red',     accent: 'red',     background: {       color: 'blue-grey',       hue: 800     }   },   green: {     primary: 'green',     accent: 'pink'   },   orange: {     primary: 'orange',     accent: 'green'   } })  new vue({   el: '#app',   render: h => h(app) }) 

i've tried too, shown in vue-material documentation:

vue.material.registertheme('default', {     primary: 'blue',     accent: 'red',     warn: 'orange',     background: {         color: 'blue-grey',         hue: 800     } }) 

what wrong?


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -