Skip to content

Commit 400254d

Browse files
authored
Create index.tsx
1 parent a66348d commit 400254d

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import React from 'react';
2+
import ReactDOM from 'react-dom';
3+
import App from '@/components/App';
4+
import './i18n';
5+
import { setConfig } from 'react-hot-loader';
6+
import './user.css';
7+
8+
import 'tailwindcss/dist/base.min.css';
9+
10+
// Prevents page reloads while making component changes which
11+
// also avoids triggering constant loading indicators all over
12+
// the place in development.
13+
//
14+
// @see https://github.com/gaearon/react-hot-loader#hook-support
15+
setConfig({ reloadHooks: false });
16+
17+
ReactDOM.render(<App/>, document.getElementById('app'));

0 commit comments

Comments
 (0)