Skip to content

Commit 8797cb3

Browse files
committed
feat:设置前端打包dist路径
1 parent d96fa1d commit 8797cb3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

gen/src/main/resources/application.properties

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,7 @@ gen.format-xml=false
2828

2929
logging.file.path=log
3030

31-
#spring.resources.static-locations=classpath:/static/
31+
#spring.resources.static-locations=classpath:/static/
32+
33+
# 本地启动可直接指定前端打包dist路径(index.html所在的文件夹路径)
34+
gen.front-location:F:/Code/MyWorkspace/code-gen/dist/gen/view

0 commit comments

Comments
 (0)