mirror of
https://gitee.com/dcren/initializr.git
synced 2026-09-03 00:26:29 +08:00
Add templates and static dirs in webapp
This commit is contained in:
@@ -144,6 +144,11 @@ class MainController {
|
|||||||
resources.mkdirs()
|
resources.mkdirs()
|
||||||
new File(resources, 'application.properties').write('')
|
new File(resources, 'application.properties').write('')
|
||||||
|
|
||||||
|
if (isWebStyle(request.style)) {
|
||||||
|
new File(dir, 'src/main/resources/templates').mkdirs()
|
||||||
|
new File(dir, 'src/main/resources/static').mkdirs()
|
||||||
|
}
|
||||||
|
|
||||||
tempFiles
|
tempFiles
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user