Jump to content
RAGE Multiplayer Community

Problem with VueJS and cef.execute();


Recommended Posts

Hello i just started to make a login/register system and i just get stumbled by a thing...

When i try to call cef.execute and change a data from VueJS component is not working..




I want to change that variable from component because i m using conditional rendering and if showRegister = false => confirm password box will be hide..

Link to comment
Share on other sites

let app = new Vue({
  el: '#your-container-id',
  data: {
    randomString: "hello worlt",
  methods: {

mp.events.add("correct.grammar", function() {
  yourBrowser.execute("app.randomString = 'Hello World!';");


  • Like 1
Link to comment
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.

  • Create New...