Skip to content

Commit e1de90b

Browse files
committed
chore: updated play test code
1 parent 17d1499 commit e1de90b

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

play/vite/src/assets/css/foo.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,8 @@ div {
2323
}
2424
p {
2525
color: v-bind-m(((a + b)) / (2 * a));
26-
}
26+
}
27+
28+
p {
29+
color: v-bind-m(sassColor);
30+
}

play/vite/src/views/App.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,12 @@ export default {
2828
const a = 100
2929
const b = 200
3030
const foo = 300
31+
const sassColor = ref('#88dc40')
3132
return {
3233
a,
3334
b,
3435
foo,
36+
sassColor,
3537
}
3638
},
3739
}

0 commit comments

Comments
 (0)