Skip to content

Commit eb03732

Browse files
committed
fix: add missing setStyleScope method
recent refactor in Vue introduced setStyleScope node op, which broke things with ns-vue, this should take care of it.
1 parent 45cb46d commit eb03732

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

platform/nativescript/runtime/node-ops.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,7 @@ export function setAttribute(node, key, val) {
6969

7070
node.setAttribute(key, val)
7171
}
72+
73+
export function setStyleScope(node, scopeId) {
74+
node.setAttribute(scopeId, '')
75+
}

0 commit comments

Comments
 (0)