Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Providing computed values from plugin - Nuxt
N
Nuxt
•
3y ago
•
21 replies
dmarr
Providing computed values from plugin
I am trying to provide a computed value from a plugin
, and I
'm not sure why it
's not working
. I have two plugins here
:
https://stackblitz.com/edit/github-vcbsj4-pqa2gg?file=plugins%2F0.init.ts,app.config.ts,app.vue,plugins%2F1.other.ts
The 0
.init is commented out
, but works as expected when uncommented
. It uses app config which is reactive
.
The 1
.other is the plugin I
'm working on returns a computed
. In the app
, I don
't see the value change
.
Hoping this is something obvious
.
StackBlitz
Nuxt - Starter (forked) - StackBlitz
Create a new Nuxt project
, module
, layer or start from a theme with our collection of starters
.
Nuxt
Join
Nuxt Community Chat Server
31,686
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Can't access values from useRuntimeConfig() from /plugins
N
Nuxt / ❓・help
14mo ago
v-for doesnt infer type from computed
N
Nuxt / ❓・help
5mo ago
useFetch undefined computed
N
Nuxt / ❓・help
7mo ago
NuxtLink inside computed text?
N
Nuxt / ❓・help
3y ago