mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 06:05:11 +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>
|
||||
export default {
|
||||
author: {
|
||||
type: String,
|
||||
default: ''
|
||||
props: {
|
||||
author: {
|
||||
type: String,
|
||||
default: ''
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
@ -8,6 +8,7 @@ const modifyHtml = (html) => {
|
||||
html = html.replace('</head>', ampScript + '</head>')
|
||||
return html
|
||||
}
|
||||
|
||||
export default {
|
||||
head: {
|
||||
meta: [
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "example-with-amp",
|
||||
"version": "1.0.0",
|
||||
"dependencies": {
|
||||
"nuxt": "latest"
|
||||
"nuxt-edge": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "nuxt",
|
||||
|
Loading…
Reference in New Issue
Block a user