Toggle navigation
Toggle navigation
This project
Loading...
Sign in
박민정
/
We-Shop
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
박민정
2021-06-09 21:55:50 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5fc44c178ccbd349d47448489ca66a65d2306410
5fc44c17
1 parent
b7f028ce
[docs] Update the folder structure
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
18 deletions
boiler-plate/client/src/components/views/LandingPage/LandingPage.js
boiler-plate/client/src/components/views/LandingPage/LandingPage.js
deleted
100644 → 0
View file @
b7f028c
import
React
,
{
useEffect
}
from
'react'
import
axios
from
'axios'
function
LandingPage
()
{
// 랜딩페이지에 들어오자마자
useEffect
(()
=>
{
axios
.
get
(
'/api/hello'
)
// get request를 서버로 보냄 (endpoint는 /api/hello)
.
then
(
response
=>
console
.
log
(
response
.
data
))
// 서버로부터 응답 받은 내용을 콘솔에 출력
},
[])
return
(
<
div
>
LandingPage
랜딩페이지
<
/div
>
)
}
export
default
LandingPage
Please
register
or
login
to post a comment