Import preact/debug
This commit is contained in:
parent
f649f60b5b
commit
e79bff1aa8
1 changed files with 10 additions and 6 deletions
16
src/main.jsx
16
src/main.jsx
|
@ -1,9 +1,13 @@
|
||||||
import { render } from 'preact';
|
|
||||||
import { App } from './app';
|
|
||||||
|
|
||||||
import 'iconify-icon';
|
|
||||||
import '@github/time-elements';
|
|
||||||
|
|
||||||
import './index.css';
|
import './index.css';
|
||||||
|
|
||||||
|
import '@github/time-elements';
|
||||||
|
import 'iconify-icon';
|
||||||
|
import { render } from 'preact';
|
||||||
|
|
||||||
|
import { App } from './app';
|
||||||
|
|
||||||
|
if (import.meta.env.DEV) {
|
||||||
|
import('preact/debug');
|
||||||
|
}
|
||||||
|
|
||||||
render(<App />, document.getElementById('app'));
|
render(<App />, document.getElementById('app'));
|
||||||
|
|
Loading…
Add table
Reference in a new issue