Skip to content

Commit 50a8204

Browse files
committed
fix(nuxt): correct plugin path
1 parent 26aca16 commit 50a8204

File tree

4 files changed

+20
-257
lines changed

4 files changed

+20
-257
lines changed

examples/nuxt/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
"license": "MIT",
66
"dependencies": {
77
"nuxt": "^2.11.0",
8-
"styled-vue": "^0.3.1"
8+
"styled-vue": "^0.3.2"
99
}
1010
}

examples/nuxt/pages/index.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export default {
1919
}
2020
p {
2121
color: #999;
22+
background: ${vm => vm.textBg};
2223
}
2324
`,
2425
globalStyle: css`
@@ -28,7 +29,8 @@ export default {
2829
`,
2930
data() {
3031
return {
31-
bg: 'cyan'
32+
bg: 'cyan',
33+
textBg: 'red'
3234
}
3335
}
3436
}

0 commit comments

Comments
 (0)