컨트롤러의 반환값 (feat. Thymeleaf) #28
soeunnPark
started this conversation in
General
Replies: 2 comments 2 replies
-
|
제 생각에는 GPT를 이용해서 간단하게 html 파일과 타임리프 파일을 만들어 동작이 제대로 되는지 확인 후 나중에 리팩토링을 하는 것도 좋을 것 같습니다. |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
현재 고민하시는 사항이 두 가지인 것 같아요.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
타임리프 사용 시 컨트롤러의 반환타입이
String이고, templates의html파일을 반환해야 하는 걸로 알고 있습니다.지금은 개발 중에 PostMan 등 툴에서 테스트하기 위해 컨트롤러에서 Json을 반환하고 있습니다.
개발 중에 html 파일을 같이 작성하며 만들어야 할까요?
Beta Was this translation helpful? Give feedback.
All reactions