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