code/solid.config.jsx

14 lines
345 B
React
Raw Normal View History

2021-08-01 18:32:24 +00:00
import { render } from 'solid-js/web';
2021-07-12 08:23:02 +00:00
import 'virtual:windi.css';
2021-07-05 18:32:33 +00:00
// eslint-disable-next-line no-unused-vars
2021-08-01 18:32:24 +00:00
import { Router, useRoutes } from 'solid-app-router';
2021-07-05 18:32:33 +00:00
// eslint-disable-next-line no-unused-vars
import Default from './layouts/default.jsx';
render(() => (
2021-08-01 18:32:24 +00:00
<Router>
2021-07-12 08:23:02 +00:00
<Default />
</Router>
), document.getElementById('root'));
2021-07-05 18:32:33 +00:00