From 3a78cf9915ccb36bb8a4b55e50faee65ae65bdb3 Mon Sep 17 00:00:00 2001 From: Furkan Sahin Date: Tue, 16 Aug 2022 23:18:32 -0500 Subject: `docs`: Correct logical flow running should come before the extra npm create block --- README.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7f9ab1d..16122f0 100644 --- a/README.md +++ b/README.md @@ -9,16 +9,21 @@ cd PTDatabaseApp && npm i ``` +To run the development build after letting `npm` install the required packages: +```bash +npm run dev +``` +Now Vite's live server should be running and automatically recompiling with each change to the source code. + + The original version of this app (forked from Scott Wilkins) used [Rollup](https://rollupjs.org/guide/en/). It has now been switched to use [Vite](https://vitejs.dev/), which allows an effortless project setup for various frameworks. A project that uses `Svelte`, `tailwind`, `postcss`, can easily be instantiated with + + ```shell npm create vite@latest ``` -To run the development build -```bash -npm run dev -``` **note** that `npm run ` is defined in [`package.json`](./package.json) -- cgit v1.2.3