mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
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:
parent
6975655d78
commit
16898f8cfa
@ -6,9 +6,11 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
|
props: {
|
||||||
author: {
|
author: {
|
||||||
type: String,
|
type: String,
|
||||||
default: ''
|
default: ''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
@ -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: [
|
||||||
|
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user