From 16898f8cfabc979be41661f58a72123963f692b7 Mon Sep 17 00:00:00 2001 From: "Jee Hyuk Won (Tony)" Date: Wed, 19 Sep 2018 00:34:01 +0900 Subject: [PATCH] fix: ByLine component props error fixed and other some errors fixed in with-amp example (#3871) * ByLine component props error fixed and other some errors fixed * linting problem fixed * export nuxt config by esmodule * upgrade dependency --- examples/with-amp/components/Byline.vue | 8 +++++--- examples/with-amp/nuxt.config.js | 1 + examples/with-amp/package.json | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/examples/with-amp/components/Byline.vue b/examples/with-amp/components/Byline.vue index 7d5d5de2c4..a03a54f72c 100644 --- a/examples/with-amp/components/Byline.vue +++ b/examples/with-amp/components/Byline.vue @@ -6,9 +6,11 @@ diff --git a/examples/with-amp/nuxt.config.js b/examples/with-amp/nuxt.config.js index 0a706c0042..da1d946516 100644 --- a/examples/with-amp/nuxt.config.js +++ b/examples/with-amp/nuxt.config.js @@ -8,6 +8,7 @@ const modifyHtml = (html) => { html = html.replace('', ampScript + '') return html } + export default { head: { meta: [ diff --git a/examples/with-amp/package.json b/examples/with-amp/package.json index 1d2244bbad..80ab8f9947 100644 --- a/examples/with-amp/package.json +++ b/examples/with-amp/package.json @@ -2,7 +2,7 @@ "name": "example-with-amp", "version": "1.0.0", "dependencies": { - "nuxt": "latest" + "nuxt-edge": "latest" }, "scripts": { "dev": "nuxt",