Sleep

Vue. js plugin that permits you to pack CSS with your parts

.vue-css.The Vue.js plugin generated through @nxtchg, vue-css is produced keeping pertinent CSS along with.vue elements, enabling you to bundle CSS data with your parts.Vue elements should be stand-alone systems with whatever applicable embedded inside. However, Vue does not sustain inserted styles. You may use Webpack or Browserify, however if you do not want to, at that point there is no suited answer. This plugin inserts on its own in addition to Vue.component() as well as if there is a "type" element current in part's interpretation, it includes it to the page. All CSS selectors are prefixed with the title of the element to avoid problems.The CSS selectors are actually prefixed with the title of the part, for instance:.Vue.component(' my-component',.design template: 'Hi there, globe!',.type: 'span,.this-too font-color: reddish '. ).The above setup will certainly add.my-component span,.my-component. this-too font-color: reddish to the webpage.Use.The plugin may be used merely by including the 'vue-css. js' data in to your job.That's it give vue-css a go if you are actually looking for a different method to assist ingrained designs in your projects.

Articles You Can Be Interested In