📝 Update some readme + App.tsx file to point to the right file
This commit is contained in:
@@ -3,29 +3,13 @@
|
|||||||
```bash
|
```bash
|
||||||
# Javascript template
|
# Javascript template
|
||||||
$ npx degit amoutonbrady/vite-template-solid/js#main my-solid-project
|
$ npx degit amoutonbrady/vite-template-solid/js#main my-solid-project
|
||||||
# Typescript template
|
$ cd my-solid-project
|
||||||
$ npx degit amoutonbrady/vite-template-solid/ts#main my-solid-project
|
$ npm install # or pnpm install or yarn install
|
||||||
```
|
```
|
||||||
|
|
||||||
## Available Scripts
|
```bash
|
||||||
|
# Typescript template
|
||||||
In the project directory, you can run:
|
$ npx degit amoutonbrady/vite-template-solid/ts#main my-solid-project
|
||||||
|
$ cd my-solid-project
|
||||||
### `npm start`
|
$ npm install # or pnpm install or yarn install
|
||||||
|
```
|
||||||
Runs the app in the development mode.<br>
|
|
||||||
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
|
|
||||||
|
|
||||||
The page will reload if you make edits.<br>
|
|
||||||
|
|
||||||
### `npm run build`
|
|
||||||
|
|
||||||
Builds the app for production to the `dist` folder.<br>
|
|
||||||
It correctly bundles Solid in production mode and optimizes the build for the best performance.
|
|
||||||
|
|
||||||
The build is minified and the filenames include the hashes.<br>
|
|
||||||
Your app is ready to be deployed!
|
|
||||||
|
|
||||||
## Deployment
|
|
||||||
|
|
||||||
You can deploy the `dist` folder to any static host provider (netlify, surge, now, etc.)
|
|
||||||
|
|||||||
+2
-5
@@ -1,10 +1,7 @@
|
|||||||
## Install
|
## Usage
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Javascript template
|
$ npm install # or pnpm install or yarn install
|
||||||
$ npx degit amoutonbrady/vite-template-solid/js#main my-solid-project
|
|
||||||
# Typescript template
|
|
||||||
$ npx degit amoutonbrady/vite-template-solid/ts#main my-solid-project
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Available Scripts
|
## Available Scripts
|
||||||
|
|||||||
+2
-5
@@ -1,10 +1,7 @@
|
|||||||
## Install
|
## Usage
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Javascript template
|
$ npm install # or pnpm install or yarn install
|
||||||
$ npx degit amoutonbrady/vite-template-solid/js#main my-solid-project
|
|
||||||
# Typescript template
|
|
||||||
$ npx degit amoutonbrady/vite-template-solid/ts#main my-solid-project
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Available Scripts
|
## Available Scripts
|
||||||
|
|||||||
+1
-1
@@ -7,7 +7,7 @@ function App() {
|
|||||||
<header class="App-header">
|
<header class="App-header">
|
||||||
<img src={logo} class="App-logo" alt="logo" />
|
<img src={logo} class="App-logo" alt="logo" />
|
||||||
<p>
|
<p>
|
||||||
Edit <code>src/App.js</code> and save to reload.
|
Edit <code>src/App.tsx</code> and save to reload.
|
||||||
</p>
|
</p>
|
||||||
<a
|
<a
|
||||||
class="App-link"
|
class="App-link"
|
||||||
|
|||||||
Reference in New Issue
Block a user