diff --git a/html5/render/vue/env/css.js b/html5/render/vue/env/css.js new file mode 100644 index 0000000000..e021e0ee5b --- /dev/null +++ b/html5/render/vue/env/css.js @@ -0,0 +1,50 @@ +import '../styles/reset.css' +import '../styles/components.css' + +import { toCSSText } from '../utils' +import { validateStyles } from '../validator' + +function getSelector (key, scopeId) { + if (scopeId === '@GLOBAL') { + return `.${key}` + } + return `.${key}[${scopeId}]` +} + +/** + * Genearte