feat: initialize new tab page with Preact and Vite setup
- Added index.html as the main entry point for the application. - Created package.json with dependencies for Preact, Halfmoon, and TypeScript. - Included favicon.svg for the application icon. - Added robots.txt for search engine directives. - Created app.css for styling the application. - Implemented app.tsx as the main application component with Navbar and Container. - Developed container component to display a greeting and search form. - Added weather description JSON data for dynamic weather updates. - Built navbar component to fetch and display current weather information. - Set up index.css for global styles. - Configured main.tsx to render the application. - Added TypeScript environment definitions. - Established TypeScript configuration files for app and node. - Configured Vite with Preact preset and PostCSS for production optimizations.
This commit is contained in:
parent
3ebaf0a468
commit
2f60206e25
18 changed files with 965 additions and 0 deletions
23
package.json
Normal file
23
package.json
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"name": "ipv4.army-vite",
|
||||
"private": true,
|
||||
"version": "0.0.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "bunx --bun vite",
|
||||
"build": "bunx --bun tsc -b && bunx --bun vite build",
|
||||
"preview": "bunx --bun vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"halfmoon": "^2.0.2",
|
||||
"lucide-preact": "^0.487.0",
|
||||
"preact": "^10.26.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@fullhuman/postcss-purgecss": "^7.0.2",
|
||||
"@preact/preset-vite": "^2.10.1",
|
||||
"lightningcss": "^1.29.3",
|
||||
"typescript": "~5.7.2",
|
||||
"vite": "^6.2.0"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue