mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +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 { useRequestURL } from './url'
|
||||||
export { usePreviewMode } from './preview'
|
export { usePreviewMode } from './preview'
|
||||||
export { useId } from './id'
|
export { useId } from './id'
|
||||||
|
export { useRouteAnnouncer } from './route-announcer'
|
||||||
|
@ -109,6 +109,10 @@ const granularAppPresets: InlinePreset[] = [
|
|||||||
imports: ['useId'],
|
imports: ['useId'],
|
||||||
from: '#app/composables/id',
|
from: '#app/composables/id',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
imports: ['useRouteAnnouncer'],
|
||||||
|
from: '#app/composables/route-announcer',
|
||||||
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
export const scriptsStubsPreset = {
|
export const scriptsStubsPreset = {
|
||||||
|
@ -53,6 +53,7 @@ describe('app config', () => {
|
|||||||
describe('composables', () => {
|
describe('composables', () => {
|
||||||
it('are all tested', () => {
|
it('are all tested', () => {
|
||||||
const testedComposables: string[] = [
|
const testedComposables: string[] = [
|
||||||
|
'useRouteAnnouncer',
|
||||||
'clearNuxtData',
|
'clearNuxtData',
|
||||||
'refreshNuxtData',
|
'refreshNuxtData',
|
||||||
'useAsyncData',
|
'useAsyncData',
|
||||||
|
Loading…
Reference in New Issue
Block a user