-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Version
@nuxtjs/strapi: 2.1.1
nuxt: 4.0.3
Steps to reproduce
Nuxt config
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
strapi: {
token: 'A TOKEN',
}
});
Make a composable
export default async () => {
const token = useStrapiToken();
console.log('TOKEN', token.value)
}
Run the app
What is Expected?
Expected log to see A TOKEN
What is actually happening?
Received undefined
If reverting to @nuxtjs/strapi
2.1.0 it's working as expected.
I think the bug was introduced by this revert commit: 96ffbad
meseck
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working