···1+## Usage
2+3+Those templates dependencies are maintained via [pnpm](https://pnpm.io) via `pnpm up -Lri`.
4+5+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.
6+7+```bash
8+$ npm install # or pnpm install or yarn install
9+```
10+11+### Learn more on the [Solid Website](https://solidjs.com) and come chat with us on our [Discord](https://discord.com/invite/solidjs)
12+13+## Available Scripts
14+15+In the project directory, you can run:
16+17+### `npm run dev` or `npm start`
18+19+Runs the app in the development mode.<br>
20+Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
21+22+The page will reload if you make edits.<br>
23+24+### `npm run build`
25+26+Builds the app for production to the `dist` folder.<br>
27+It correctly bundles Solid in production mode and optimizes the build for the best performance.
28+29+The build is minified and the filenames include the hashes.<br>
30+Your app is ready to be deployed!
31+32+## Deployment
33+34+You can deploy the `dist` folder to any static host provider (netlify, surge, now, etc.)
35+36+## This project was created with the [Solid CLI](https://github.com/solidjs-community/solid-cli)
···1+/* @refresh reload */
2+import './index.css';
3+import { render } from 'solid-js/web';
4+import 'solid-devtools';
5+6+import App from './App';
7+8+const root = document.getElementById('root');
9+10+if (import.meta.env.DEV && !(root instanceof HTMLElement)) {
11+ throw new Error(
12+ 'Root element not found. Did you forget to add it to your index.html? Or maybe the id attribute got misspelled?',
13+ );
14+}
15+16+render(() => <App />, root!);