···11+## Usage
22+33+Those templates dependencies are maintained via [pnpm](https://pnpm.io) via `pnpm up -Lri`.
44+55+This is the reason you see a `pnpm-lock.yaml`. That being said, any package manager will work. This file can be safely be removed once you clone a template.
66+77+```bash
88+$ npm install # or pnpm install or yarn install
99+```
1010+1111+### Learn more on the [Solid Website](https://solidjs.com) and come chat with us on our [Discord](https://discord.com/invite/solidjs)
1212+1313+## Available Scripts
1414+1515+In the project directory, you can run:
1616+1717+### `npm run dev` or `npm start`
1818+1919+Runs the app in the development mode.<br>
2020+Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
2121+2222+The page will reload if you make edits.<br>
2323+2424+### `npm run build`
2525+2626+Builds the app for production to the `dist` folder.<br>
2727+It correctly bundles Solid in production mode and optimizes the build for the best performance.
2828+2929+The build is minified and the filenames include the hashes.<br>
3030+Your app is ready to be deployed!
3131+3232+## Deployment
3333+3434+You can deploy the `dist` folder to any static host provider (netlify, surge, now, etc.)
3535+3636+## This project was created with the [Solid CLI](https://github.com/solidjs-community/solid-cli)
···11+/* @refresh reload */
22+import './index.css';
33+import { render } from 'solid-js/web';
44+import 'solid-devtools';
55+66+import App from './App';
77+88+const root = document.getElementById('root');
99+1010+if (import.meta.env.DEV && !(root instanceof HTMLElement)) {
1111+ throw new Error(
1212+ 'Root element not found. Did you forget to add it to your index.html? Or maybe the id attribute got misspelled?',
1313+ );
1414+}
1515+1616+render(() => <App />, root!);