Recommended Posts

Hello.  Is it possible to use SPA on Vue.js?  I am a beginner and do not fully understand this, are there any examples?  Handling events from the server on the client which is on vue?

Share this post


Link to post
Share on other sites
1 минуту назад, OLTEANUadv сказал:

Hey

Yes, you can develop a spa app with vue.js

 

Are there examples in the public domain? Except for TypeScript + Vue, because I don’t understand something at all.

Share this post


Link to post
Share on other sites

All you need to do on vue is use

mp.trigger

to communicate with clientside code, and from clientside code you use

mp.events.callRemote

to communicate with serverside code

 

 

Share this post


Link to post
Share on other sites
16 минут назад, vienna сказал:

All you need to do on vue is use

mp.trigger

to communicate with clientside code, and from clientside code you use

mp.events.callRemote

to communicate with serverside code

 

 

Thanks. How to use the other way around? For example, make an online counter? How to send data from server to client and from client to HTML (Vue.js)?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.