Nuxt/test/fixtures/basic/plugins/cookie.ts

4 lines
87 B
TypeScript
Raw Permalink Normal View History

export default defineNuxtPlugin(() => {
useCookie('set-in-plugin').value = 'true'
})