Skip to content

hysuki/vue-mixinClassStyle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vue-mixinClassStyle

Use

main.js

import mixinClassStyle from 'path/to/vue-mixinClassStyle'

Vue.use(mixinClassStyle)

tempate

<div v-mixinClassStyle="{'class':['common', 'responsive']}" class="origin"></div>

Render

<div class="origin common responsive"></div>

Soon

  • Class names mix
  • Load style file dynamic

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published