How to call a function in a reactive from another page ? #192
Unanswered
BilalKhatib
asked this question in
Q&A
Replies: 1 comment
-
I'd suggest put the :
in a separate Javascript file, page1.html and page2.html can import it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hello ,
i have 2 pages : page1.html and page2.html
page2.html
the problem is :
i want to call the welcomeUser() function in my page1.html
in my page1.html i've created a promise function that load page2.html before page1.html
and tried to call welcomeUser()
but im getting an error in my browser's console saying
what's the problem ? is there a way to call a function in petite vue from another page ?
Beta Was this translation helpful? Give feedback.
All reactions