Add initial frontend-web setup with React, TypeScript, and Vite
- Created a new frontend-web project structure with essential files including package.json, tsconfig, and Vite configuration. - Added ESLint and Prettier configurations for code quality. - Implemented basic UI components (Button, Card, Input, Label) with Tailwind CSS for styling. - Established Redux store with user authentication slice and typed hooks for state management. - Included a sample App component demonstrating the use of UI components and Redux store. - Set up .gitignore to exclude build artifacts and dependencies.
This commit is contained in:
14
frontend-web/src/main.tsx
Normal file
14
frontend-web/src/main.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import {StrictMode} from 'react';
|
||||
import {createRoot} from 'react-dom/client';
|
||||
import {Provider} from 'react-redux';
|
||||
import {store} from './store';
|
||||
import './index.css';
|
||||
import App from './App.tsx';
|
||||
|
||||
createRoot(document.getElementById('root')!).render(
|
||||
<StrictMode>
|
||||
<Provider store={store}>
|
||||
<App />
|
||||
</Provider>
|
||||
</StrictMode>
|
||||
);
|
||||
Reference in New Issue
Block a user