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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -