diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2022-08-16 23:18:32 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2022-08-16 23:18:32 -0500 |
| commit | 3a78cf9915ccb36bb8a4b55e50faee65ae65bdb3 (patch) | |
| tree | a8d17aaa5a01741e699c23002ba13e7864caeb5d | |
| parent | 1c82b4929674e68b4e91f498796d5588a72c1a55 (diff) | |
`docs`: Correct logical flow
running should come before the extra npm create block
| -rw-r--r-- | README.md | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -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 <arg>` is defined in [`package.json`](./package.json) |
