亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

javascript - How to reference different css styles based on variables in vuejs
曾經蠟筆沒有小新
曾經蠟筆沒有小新 2017-07-05 10:37:08
0
1
750

Required to change the previous project to vue framework. Now we have css and everything. Now I want to introduce different css files based on variables. Similar to the logical effect in if(){//import from ''xxx.css}. I would like to ask everyone, can it be implemented in the vue framework, or through webpack?

曾經蠟筆沒有小新
曾經蠟筆沒有小新

reply all(1)
三叔

Use webpack code splitting and write like this when quoting
`
require.ensure('xxx.css')
`

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template