wip: more consistent compiler-sfc usage + inline mode for ssr
This commit is contained in:
@@ -14,6 +14,8 @@ import { ShapeFlags } from '@vue/shared'
|
||||
* @private
|
||||
*/
|
||||
export function useCssVars(getter: (ctx: any) => Record<string, string>) {
|
||||
if (!__BROWSER__ && !__TEST__) return
|
||||
|
||||
const instance = getCurrentInstance()
|
||||
/* istanbul ignore next */
|
||||
if (!instance) {
|
||||
|
||||
Reference in New Issue
Block a user