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> <script>
export default { export default {
author: { props: {
type: String, author: {
default: '' type: String,
default: ''
}
} }
} }
</script> </script>

View File

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

View File

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