mirror of
https://github.com/nuxt/nuxt.git
synced 2025-03-21 16:55:57 +00:00
chore: lint repo
This commit is contained in:
parent
d09c8ec71f
commit
2ab20bfdc7
@ -49,8 +49,8 @@
|
|||||||
"knitwork": "^1.2.0",
|
"knitwork": "^1.2.0",
|
||||||
"magic-string": "^0.30.17",
|
"magic-string": "^0.30.17",
|
||||||
"mlly": "^1.7.4",
|
"mlly": "^1.7.4",
|
||||||
"ohash": "^2.0.11",
|
|
||||||
"mocked-exports": "^0.1.0",
|
"mocked-exports": "^0.1.0",
|
||||||
|
"ohash": "^2.0.11",
|
||||||
"pathe": "^2.0.3",
|
"pathe": "^2.0.3",
|
||||||
"perfect-debounce": "^1.0.0",
|
"perfect-debounce": "^1.0.0",
|
||||||
"pkg-types": "^2.1.0",
|
"pkg-types": "^2.1.0",
|
||||||
|
@ -10,7 +10,6 @@ import { withoutLeadingSlash } from 'ufo'
|
|||||||
import { filename } from 'pathe/utils'
|
import { filename } from 'pathe/utils'
|
||||||
import { resolveModulePath } from 'exsolve'
|
import { resolveModulePath } from 'exsolve'
|
||||||
import { resolveTSConfig } from 'pkg-types'
|
import { resolveTSConfig } from 'pkg-types'
|
||||||
import { resolveModulePath } from 'exsolve'
|
|
||||||
|
|
||||||
import { buildClient } from './client'
|
import { buildClient } from './client'
|
||||||
import { buildServer } from './server'
|
import { buildServer } from './server'
|
||||||
|
@ -1196,6 +1196,8 @@ importers:
|
|||||||
specifier: workspace:*
|
specifier: workspace:*
|
||||||
version: link:../../../packages/nuxt
|
version: link:../../../packages/nuxt
|
||||||
|
|
||||||
|
test/fixtures/minimal-pages: {}
|
||||||
|
|
||||||
test/fixtures/minimal-types:
|
test/fixtures/minimal-types:
|
||||||
dependencies:
|
dependencies:
|
||||||
nuxt:
|
nuxt:
|
||||||
|
14
test/fixtures/basic/pages/head.vue
vendored
14
test/fixtures/basic/pages/head.vue
vendored
@ -1,12 +1,5 @@
|
|||||||
<script>
|
<script>
|
||||||
export default defineNuxtComponent({
|
export default defineNuxtComponent({
|
||||||
head () {
|
|
||||||
return {
|
|
||||||
htmlAttrs: {
|
|
||||||
class: 'html-attrs-test',
|
|
||||||
},
|
|
||||||
}
|
|
||||||
},
|
|
||||||
setup () {
|
setup () {
|
||||||
const a = ref('')
|
const a = ref('')
|
||||||
useHead({
|
useHead({
|
||||||
@ -26,6 +19,13 @@ export default defineNuxtComponent({
|
|||||||
useHead({ meta: [{ charset: 'utf-16' }, { name: 'description', content: computed(() => `${a.value} with an inline useHead call`) }] })
|
useHead({ meta: [{ charset: 'utf-16' }, { name: 'description', content: computed(() => `${a.value} with an inline useHead call`) }] })
|
||||||
a.value = 'overriding'
|
a.value = 'overriding'
|
||||||
},
|
},
|
||||||
|
head () {
|
||||||
|
return {
|
||||||
|
htmlAttrs: {
|
||||||
|
class: 'html-attrs-test',
|
||||||
|
},
|
||||||
|
}
|
||||||
|
},
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
5
test/fixtures/minimal-pages/package.json
vendored
Normal file
5
test/fixtures/minimal-pages/package.json
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"name": "minimal-pages",
|
||||||
|
"version": "0.0.0",
|
||||||
|
"private": true
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user