Skip to content

Commit

Permalink
add vite for dev mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Bender101 committed Nov 7, 2023
1 parent d2c1383 commit 85dfddd
Show file tree
Hide file tree
Showing 5 changed files with 925 additions and 13 deletions.
14 changes: 14 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!doctype html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Project</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/index.tsx"></script>
</body>
</html>
8 changes: 7 additions & 1 deletion json-server/db.json
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,12 @@
"userId": "1",
"text": "dfsfdsfffds",
"id": "WgUAqQc"
},
{
"articleId": "15",
"userId": "1",
"text": "sadsd",
"id": "JHkMYNd"
}
],
"users": [
Expand Down Expand Up @@ -743,4 +749,4 @@
"avatar": "https://xakep.ru/wp-content/uploads/2018/05/171485/KuroiSH-hacker.jpg"
}
]
}
}
Loading

0 comments on commit 85dfddd

Please sign in to comment.