From 7111e9d4a484bcac6110b40d68b83b22587c07fa Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Mon, 10 Jun 2024 20:55:37 -0700 Subject: [PATCH] update readme --- README.md | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index a84af39..99b1a37 100644 --- a/README.md +++ b/README.md @@ -2,19 +2,10 @@ Everything you need to build a Solid project, powered by [`solid-start`](https://start.solidjs.com); -## Creating a project - -```bash -# create a new project in the current directory -npm init solid@latest - -# create a new project in my-app -npm init solid@latest my-app -``` - ## Developing -Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server: +Once you've created a project and installed dependencies with `npm install` +(or `pnpm install` or `yarn`), start a development server: ```bash npm run dev @@ -25,8 +16,11 @@ npm run dev -- --open ## Building -Solid apps are built with _presets_, which optimise your project for deployment to different environments. +Solid apps are built with _presets_, which optimise your project +for deployment to different environments. -By default, `npm run build` will generate a Node app that you can run with `npm start`. To use a different preset, add it to the `devDependencies` in `package.json` and specify in your `app.config.js`. +By default, `npm run build` will generate a Node app that you can run with `npm start`. +To use a different preset, add it to the `devDependencies` in `package.json` +and specify in your `app.config.js`. ## This project was created with the [Solid CLI](https://solid-cli.netlify.app)