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 {
185
185
}
186
186
}
187
187
```
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 `
189
189
190
190
``` javascript
191
191
// Script generated with VueComponent at Thu Oct 11 03:01:09 CEST 2018
Original file line number Diff line number Diff line change 6
6
7
7
<groupId >io.github.jeemv.springboot.vuejs</groupId >
8
8
<artifactId >springboot-vuejs</artifactId >
9
- <version >1.0.9 </version >
9
+ <version >1.0.10 </version >
10
10
11
11
<name >springboot-vuejs</name >
12
12
<url >https://github.com/jeeMv/SpringBoot-VueJS</url >
Original file line number Diff line number Diff line change 26
26
* VueJS component class
27
27
* This class is part of springBoot-VueJS
28
28
* @author jc
29
- * @version 1.0.0
29
+ * @version 1.0.1
30
30
*
31
31
*/
32
32
public class VueComponent extends AbstractVueJS {
@@ -161,8 +161,8 @@ protected void loadTemplateFile(String filename) throws IOException {
161
161
* @throws IOException for file creation
162
162
*/
163
163
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 );
166
166
f .getParentFile ().mkdirs ();
167
167
if (f .exists ()) {
168
168
Scanner sc =new Scanner (System .in );
You can’t perform that action at this time.
0 commit comments