Skip to content

Commit

Permalink
fix(nuxt): correct plugin path
Browse files Browse the repository at this point in the history
  • Loading branch information
egoist committed Jan 18, 2020
1 parent 26aca16 commit 50a8204
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 257 deletions.
2 changes: 1 addition & 1 deletion examples/nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"license": "MIT",
"dependencies": {
"nuxt": "^2.11.0",
"styled-vue": "^0.3.1"
"styled-vue": "^0.3.2"
}
}
4 changes: 3 additions & 1 deletion examples/nuxt/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export default {
}
p {
color: #999;
background: ${vm => vm.textBg};
}
`,
globalStyle: css`
Expand All @@ -28,7 +29,8 @@ export default {
`,
data() {
return {
bg: 'cyan'
bg: 'cyan',
textBg: 'red'
}
}
}
Expand Down
Loading

0 comments on commit 50a8204

Please sign in to comment.