Skip to content

Releases: jeeMv/SpringBoot-VueJS

1.1.4 release

06 Mar 15:31
Compare
Choose a tag to compare

Updated/added

  • Vue 3 compatibility
  • vueVersion (2.* or 3.*) in application.properties

1.0.22 release

11 Oct 17:32
Compare
Choose a tag to compare

Added

  • getter/setters for vueJS data
  • clone and assign methods

1.0.21 release

17 Sep 17:55
Compare
Choose a tag to compare

Updated

  • Fix jsArray pb with remove and replace
  • Maven dependencies

1.0.17 release

06 Oct 22:44
Compare
Choose a tag to compare

Updated

  • lambda expressions usage in Http class

Fixed

  • JsArray bug in remove method

1.0.15 release

14 Oct 23:46
2e56c06
Compare
Choose a tag to compare

Added

  • JavascriptMultiModulesResource class -> For the creation of several scripts (modules) in the same JS file, with the possibility of incorporating java variables.

Usage:

Javascript multi modules resource

To avoid the multiplicity of javascript files, it is possible to group several scripts in the same file.

Each script (qualified as a module) must be identified in the javascript file by a comment on a single line bearing its name, and a comment marking the end (also mentioning the name of the script).

resource/static/js/multi.js

Each script can possibly be isolated, which is without consequences.

//resource/static/js/multi.js
//----------------consoleMsg-----------------------
console.log("${message}");
//----------------consoleMsg (end)-----------------

//----------------alertMsg-------------------------
(function(){
    alert("${message}");
})();
//----------------alertMsg (end)-------------------
In the java controller
	@GetMapping("sampleMulti")
	public String testJsMulti(@ModelAttribute("vue") VueJS vue) throws IOException {
		JavascriptMultiModulesResource jsMulti=JavascriptMultiModulesResource.create("multi");
		jsMulti.getModule("consoleMsg").put("message", "This is a console message");
		vue.addMethod("click", js.parseContent("consoleMsg"));
		return "view";
	}

1.0.14 release

30 Sep 17:51
d14e083
Compare
Choose a tag to compare

Updated

versions:

  • java 14
  • com.fasterxml.jackson.core 2.11
  • org.aspectj 1.9.6
  • org.springframework 5.2.9
  • org.springframework.boot 2.3.4

Http request methods:

  • url parameter can contains a JS expression:
Http.get("'/foo'+js")

1.0.12 release

05 Oct 01:16
Compare
Choose a tag to compare

Updated

versions:

  • com.fasterxml.jackson.core 2.10
  • org.aspectj 1.9.4
  • org.springframework 5.2
  • org.springframework.boot 2.1.9

Added

  • shortHand in directives

1.0.11 release

05 Oct 00:35
Compare
Choose a tag to compare

Added

  • Components unique file creation VueComponent.globalJS()

1.0.10

13 Mar 00:54
Compare
Choose a tag to compare

[Updated]

  • move component generation in src/main/resource folder

1.0.9

01 Mar 03:52
e87c7ab
Compare
Choose a tag to compare

Added

  • Autowiring + configuration in application.properties

Changed

  • useAxios is now in the VueJS class, and no more in the Http class