File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
src/main/java/io/github/jeemv/springboot/vuejs/components Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ public class CompoButton {
185185 }
186186}
187187```
188- The generated file is created in ` {project-folder}/target/classes /static/vueJS/button-counter.js `
188+ The generated file is created in ` {project-folder}/src/main/resources /static/vueJS/button-counter.js `
189189
190190``` javascript
191191// Script generated with VueComponent at Thu Oct 11 03:01:09 CEST 2018
Original file line number Diff line number Diff line change 66
77 <groupId >io.github.jeemv.springboot.vuejs</groupId >
88 <artifactId >springboot-vuejs</artifactId >
9- <version >1.0.9 </version >
9+ <version >1.0.10 </version >
1010
1111 <name >springboot-vuejs</name >
1212 <url >https://github.com/jeeMv/SpringBoot-VueJS</url >
Original file line number Diff line number Diff line change 2626 * VueJS component class
2727 * This class is part of springBoot-VueJS
2828 * @author jc
29- * @version 1.0.0
29+ * @version 1.0.1
3030 *
3131 */
3232public class VueComponent extends AbstractVueJS {
@@ -161,8 +161,8 @@ protected void loadTemplateFile(String filename) throws IOException {
161161 * @throws IOException for file creation
162162 */
163163 public void createFile (String pathFilename ,boolean minify ) throws IOException {
164- Resource resource = new ClassPathResource ( " static/" );
165- File f =new File (resource .getFile (). getAbsolutePath ().toString ()+"\\ " +pathFilename );
164+ File resource = new File ( "src/main/resources/ static/" );
165+ File f =new File (resource .getAbsolutePath ().toString ()+"\\ " +pathFilename );
166166 f .getParentFile ().mkdirs ();
167167 if (f .exists ()) {
168168 Scanner sc =new Scanner (System .in );
You can’t perform that action at this time.
0 commit comments