[c] replace npm occurances with yarn
This commit is contained in:
parent
d740a8005b
commit
0656ad38b9
1 changed files with 8 additions and 8 deletions
14
README.md
14
README.md
|
@ -21,14 +21,14 @@ git clone https://gitpot.org/ExploreCraft/website.git
|
||||||
Once you've cloned the repository you'll need to install the required dependencies, and then, start a development server:
|
Once you've cloned the repository you'll need to install the required dependencies, and then, start a development server:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# install dependencies (you can also use pnpm install or yarn)
|
# install dependencies (you can also use pyarn install or yarn)
|
||||||
npm install
|
yarn install
|
||||||
|
|
||||||
# start vite development server
|
# start vite development server
|
||||||
npm run dev
|
yarn run dev
|
||||||
|
|
||||||
# or start the server and also open the website in a new browser tab
|
# or start the server and also open the website in a new browser tab
|
||||||
npm run dev -- --open
|
yarn run dev -- --open
|
||||||
|
|
||||||
VITE v4.3.9 ready in 358 ms
|
VITE v4.3.9 ready in 358 ms
|
||||||
|
|
||||||
|
@ -44,14 +44,14 @@ To build a production-ready version of this website:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# run build action
|
# run build action
|
||||||
npm run build
|
yarn run build
|
||||||
```
|
```
|
||||||
You can also preview the production build (You'll need to build the website first if you haven't done so already):
|
You can also preview the production build (You'll need to build the website first if you haven't done so already):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# build the website
|
# build the website
|
||||||
npm run build
|
yarn run build
|
||||||
|
|
||||||
# start a preview server
|
# start a preview server
|
||||||
npm run preview
|
yarn run preview
|
||||||
```
|
```
|
Loading…
Reference in a new issue