Skip to content

Commit eb0e34f

Browse files
committed
feat: migrate from Create React App to Vite, update dependencies and configurations
- Updated package.json to switch from react-scripts to Vite, including changes to scripts and dependencies. - Removed public/index.html as it's no longer needed with Vite's handling. - Refactored deviceList component for improved styling and functionality. - Updated react-app-env.d.ts to support Vite and SVG imports. - Modified reportWebVitals to use new web-vitals API. - Adjusted httpService to align with updated Redux Toolkit query imports. - Deleted setupProxy.js as Vite handles proxying differently. - Fixed SCSS import paths for Bootstrap. - Updated TypeScript configuration for ES2020 and Vite compatibility. - Added vite.config.ts for Vite configuration, including proxy setup and testing environment.
1 parent d970d86 commit eb0e34f

20 files changed

Lines changed: 3706 additions & 30206 deletions

dist/assets/index-09LdggGh.js

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/assets/index-CERBEfvd.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/favicon.ico

3.78 KB
Binary file not shown.

dist/index.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<link rel="icon" href="/debug/favicon.ico" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1" />
7+
<meta name="theme-color" content="#000000" />
8+
<meta name="description" content="Essentials Web Config App" />
9+
<link rel="apple-touch-icon" href="/debug/logo192.png" />
10+
<link rel="manifest" href="/debug/manifest.json" />
11+
<title>Essentials Config</title>
12+
<script type="module" crossorigin src="/debug/assets/index-09LdggGh.js"></script>
13+
<link rel="stylesheet" crossorigin href="/debug/assets/index-CERBEfvd.css">
14+
</head>
15+
<body>
16+
<noscript>You need to enable JavaScript to run this app.</noscript>
17+
<div id="root"></div>
18+
</body>
19+
</html>

dist/logo192.png

5.22 KB
Loading

dist/logo512.png

9.44 KB
Loading

dist/manifest.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"short_name": "React App",
3+
"name": "Create React App Sample",
4+
"icons": [
5+
{
6+
"src": "favicon.ico",
7+
"sizes": "64x64 32x32 24x24 16x16",
8+
"type": "image/x-icon"
9+
},
10+
{
11+
"src": "logo192.png",
12+
"type": "image/png",
13+
"sizes": "192x192"
14+
},
15+
{
16+
"src": "logo512.png",
17+
"type": "image/png",
18+
"sizes": "512x512"
19+
}
20+
],
21+
"start_url": ".",
22+
"display": "standalone",
23+
"theme_color": "#000000",
24+
"background_color": "#ffffff"
25+
}

dist/robots.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# https://www.robotstxt.org/robotstxt.html
2+
User-agent: *
3+
Disallow:

index.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<link rel="icon" href="/favicon.ico" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1" />
7+
<meta name="theme-color" content="#000000" />
8+
<meta name="description" content="Essentials Web Config App" />
9+
<link rel="apple-touch-icon" href="/logo192.png" />
10+
<link rel="manifest" href="/manifest.json" />
11+
<title>Essentials Config</title>
12+
</head>
13+
<body>
14+
<noscript>You need to enable JavaScript to run this app.</noscript>
15+
<div id="root"></div>
16+
<script type="module" src="/src/index.tsx"></script>
17+
</body>
18+
</html>

0 commit comments

Comments
 (0)