mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-21 21:25:11 +00:00
fix(nuxt): export useRouteAnnouncer
(#27562)
This commit is contained in:
parent
fbb66c43be
commit
1321c56483
@ -37,3 +37,4 @@ export { reloadNuxtApp } from './chunk'
|
||||
export { useRequestURL } from './url'
|
||||
export { usePreviewMode } from './preview'
|
||||
export { useId } from './id'
|
||||
export { useRouteAnnouncer } from './route-announcer'
|
||||
|
@ -109,6 +109,10 @@ const granularAppPresets: InlinePreset[] = [
|
||||
imports: ['useId'],
|
||||
from: '#app/composables/id',
|
||||
},
|
||||
{
|
||||
imports: ['useRouteAnnouncer'],
|
||||
from: '#app/composables/route-announcer',
|
||||
},
|
||||
]
|
||||
|
||||
export const scriptsStubsPreset = {
|
||||
|
@ -53,6 +53,7 @@ describe('app config', () => {
|
||||
describe('composables', () => {
|
||||
it('are all tested', () => {
|
||||
const testedComposables: string[] = [
|
||||
'useRouteAnnouncer',
|
||||
'clearNuxtData',
|
||||
'refreshNuxtData',
|
||||
'useAsyncData',
|
||||
|
Loading…
Reference in New Issue
Block a user