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
This commit is contained in:
Jee Hyuk Won (Tony) 2018-09-19 00:34:01 +09:00 committed by Sébastien Chopin
parent 6975655d78
commit 16898f8cfa
3 changed files with 7 additions and 4 deletions

View File

@ -6,9 +6,11 @@
<script>
export default {
author: {
type: String,
default: ''
props: {
author: {
type: String,
default: ''
}
}
}
</script>

View File

@ -8,6 +8,7 @@ const modifyHtml = (html) => {
html = html.replace('</head>', ampScript + '</head>')
return html
}
export default {
head: {
meta: [

View File

@ -2,7 +2,7 @@
"name": "example-with-amp",
"version": "1.0.0",
"dependencies": {
"nuxt": "latest"
"nuxt-edge": "latest"
},
"scripts": {
"dev": "nuxt",