Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
postavka_front
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Нұрасыл Қайратұлы
postavka_front
Commits
3bce26fa
Commit
3bce26fa
authored
Jun 20, 2025
by
Нұрасыл Қайратұлы
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix port expose
parent
0d443902
Pipeline
#847
passed with stages
in 20 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
26 deletions
+26
-26
App.tsx
src/App.tsx
+26
-26
No files found.
src/App.tsx
View file @
3bce26fa
import
{
useState
}
from
'react'
import
'./App.css'
import
reactLogo
from
'./assets/react.svg'
import
viteLogo
from
'/vite.svg'
import
'./App.css'
function
App
()
{
const
[
count
,
setCount
]
=
useState
(
0
)
const
[
count
,
setCount
]
=
useState
(
0
)
return
(
<>
<
div
>
<
a
href=
"https://vite.dev"
target=
"_blank"
>
<
img
src=
{
viteLogo
}
className=
"logo"
alt=
"Vite logo"
/>
</
a
>
<
a
href=
"https://react.dev"
target=
"_blank"
>
<
img
src=
{
reactLogo
}
className=
"logo react"
alt=
"React logo"
/>
</
a
>
</
div
>
<
h1
>
Vite + React
</
h1
>
<
div
className=
"card"
>
<
button
onClick=
{
()
=>
setCount
((
count
)
=>
count
+
1
)
}
>
count is
{
count
}
</
button
>
<
p
>
Edit
<
code
>
src/App.tsx
</
code
>
and save to test HMR
</
p
>
</
div
>
<
p
className=
"read-the-docs"
>
Click on the Vite and React logos to learn more
</
p
>
</>
)
return
(
<>
<
div
>
<
a
href=
'https://vite.dev'
target=
'_blank'
>
<
img
src=
{
viteLogo
}
className=
'logo'
alt=
'Vite logo'
/>
</
a
>
<
a
href=
'https://react.dev'
target=
'_blank'
>
<
img
src=
{
reactLogo
}
className=
'logo react'
alt=
'React logo'
/>
</
a
>
</
div
>
<
h1
>
МЫ СДЕЛАЛИ ПОСТАВКУ ФРОНТА
</
h1
>
<
div
className=
'card'
>
<
button
onClick=
{
()
=>
setCount
(
count
=>
count
+
1
)
}
>
count is
{
count
}
</
button
>
<
p
>
Edit
<
code
>
src/App.tsx
</
code
>
and save to test HMR
</
p
>
</
div
>
<
p
className=
'read-the-docs'
>
Click on the Vite and React logos to learn more
</
p
>
</>
)
}
export
default
App
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment