Annotation Interface VueJSInstance


@Target(METHOD) @Retention(RUNTIME) @Documented public @interface VueJSInstance
VueJSInstance annotation This class is part of spring-boot-vuejs inject an instance of VueJS initialized from the parameters selector and modelName. The annotated method must take the ModelMap and VueJS type parameters at the last position.
Since:
1.0.2
  • Element Details

    • selector

      String selector
      Returns:
      the Vue instance element default: "#app"
      Default:
      "#app"
    • modelName

      String modelName
      Returns:
      the name of the variable added in modelMap default: "vue"
      Default:
      "vue"