@JsIgnore
  public static void initWithoutVueLib() {
    if (!isVueLibInjected()) {
      throw new RuntimeException(
          "Couldn't find Vue.js on init. Either include it Vue.js in your index.html or call VueGWT.init() instead of initWithoutVueLib.");
    }

    // Register custom observers for Collection and Maps
    VueGWTObserverManager.get().registerVueGWTObserver(new CollectionObserver());
    VueGWTObserverManager.get().registerVueGWTObserver(new MapObserver());

    isReady = true;

    // Call on ready callbacks
    for (Runnable onReadyCbk : onReadyCallbacks) {
      onReadyCbk.run();
    }
    onReadyCallbacks.clear();
  }
@ JsIgnore public static void initWithoutVueLib ( ) { if ( ! isVueLibInjected ( ) ) { throw new RuntimeException ( "Couldn't find Vue.js on init. Either include it Vue.js in your index.html or call VueGWT.init() instead of initWithoutVueLib." ) ; } VueGWTObserverManager . get ( ) . registerVueGWTObserver ( new CollectionObserver ( ) ) ; VueGWTObserverManager . get ( ) . registerVueGWTObserver ( new MapObserver ( ) ) ; isReady = true ; for ( Runnable onReadyCbk : onReadyCallbacks ) { onReadyCbk . run ( ) ; } onReadyCallbacks . clear ( ) ; }
Inject scripts necessary for Vue GWT to work Requires Vue to be defined in Window.