Returning undefined using Nova::provideToScript into my resource tool #5367
Answered
by
crynobone
hugohernandezfcc
asked this question in
Q&A
-
Description:I'm trying access to my variable into my vuejs component using Service provider of my resource tool`public function boot() Vuejs` mounted() { },` and is returning undefined. Please help!! |
Beta Was this translation helpful? Give feedback.
Answered by
crynobone
Mar 2, 2023
Replies: 1 comment 1 reply
-
|
This is an incorrect usage. console.log(Nova.config.variablename)It should have been the following based on documentation: console.log(Nova.config('variablename')) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
hugohernandezfcc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is an incorrect usage.
It should have been the following based on documentation: