refactor: only rewrite css varaiable in <style scoped> when vars is present
This commit is contained in:
@@ -174,7 +174,7 @@ export function compileScript(
|
||||
}
|
||||
|
||||
// 2. check <script setup="xxx"> function signature
|
||||
const setupValue = scriptSetup.attrs.setup
|
||||
const setupValue = scriptSetup.setup
|
||||
const hasExplicitSignature = typeof setupValue === 'string'
|
||||
|
||||
let propsVar: string | undefined
|
||||
|
||||
Reference in New Issue
Block a user