build: install and configure Vite, move index.html

This commit is contained in:
Daniel D Orlando 2023-04-01 12:58:49 -07:00
parent 78dabe55ae
commit 6498ab79a4
7 changed files with 2271 additions and 11 deletions

View file

@ -1,21 +0,0 @@
import React from 'react';
import { createRoot } from 'react-dom/client';
// import { Provider } from 'react-redux';
// import { store } from './src/store';
import { RecoilRoot } from 'recoil';
import { ThemeProvider } from './src/hooks/ThemeContext';
import App from './src/App';
import './src/style.css';
import './src/mobile.css';
const container = document.getElementById('root');
const root = createRoot(container);
root.render(
<RecoilRoot>
<ThemeProvider>
<App />
</ThemeProvider>
</RecoilRoot>
);