From 38e2ddf7fe4977e01b0dce3215fb199b3ca6fd09 Mon Sep 17 00:00:00 2001 From: EGOIST <0x142857@gmail.com> Date: Wed, 9 Jan 2019 00:32:51 +0800 Subject: [PATCH] chore: add styled-vue example (#4712) --- examples/styled-vue/README.md | 3 +++ examples/styled-vue/nuxt.config.js | 5 +++++ examples/styled-vue/package.json | 15 +++++++++++++ examples/styled-vue/pages/index.vue | 33 +++++++++++++++++++++++++++++ 4 files changed, 56 insertions(+) create mode 100644 examples/styled-vue/README.md create mode 100644 examples/styled-vue/nuxt.config.js create mode 100644 examples/styled-vue/package.json create mode 100644 examples/styled-vue/pages/index.vue diff --git a/examples/styled-vue/README.md b/examples/styled-vue/README.md new file mode 100644 index 0000000000..d7e7d3076e --- /dev/null +++ b/examples/styled-vue/README.md @@ -0,0 +1,3 @@ +# styled-vue Example + +See https://github.com/egoist/styled-vue diff --git a/examples/styled-vue/nuxt.config.js b/examples/styled-vue/nuxt.config.js new file mode 100644 index 0000000000..9c00c59049 --- /dev/null +++ b/examples/styled-vue/nuxt.config.js @@ -0,0 +1,5 @@ +module.exports = { + modules: [ + 'styled-vue/nuxt' + ] +} diff --git a/examples/styled-vue/package.json b/examples/styled-vue/package.json new file mode 100644 index 0000000000..d39a0e48f1 --- /dev/null +++ b/examples/styled-vue/package.json @@ -0,0 +1,15 @@ +{ + "name": "example-styled-vue", + "version": "1.0.0", + "dependencies": { + "nuxt-edge": "latest" + }, + "scripts": { + "dev": "nuxt", + "build": "nuxt build", + "start": "nuxt start" + }, + "devDependencies": { + "styled-vue": "^0.1.3" + } +} diff --git a/examples/styled-vue/pages/index.vue b/examples/styled-vue/pages/index.vue new file mode 100644 index 0000000000..372e7a7391 --- /dev/null +++ b/examples/styled-vue/pages/index.vue @@ -0,0 +1,33 @@ + + +