runtimeConfig is empty
thats in my nuxt.config.ts,
and thats what on my page:
Webpage says no value
and thats what on my page:
Webpage says no value
runtimeConfig: {
// The private keys which are only available within server-side
apiSecret: '123',
// Keys within public, will be also exposed to the client-side
public: {
apiBase: '/api'
}
}, <p>{{ $config.public.apiBase || "No value" }}</p>