File tree Expand file tree Collapse file tree 2 files changed +32
-1
lines changed
Expand file tree Collapse file tree 2 files changed +32
-1
lines changed Original file line number Diff line number Diff line change 22
33## Initial Setup
44
5+ ### macOS / Linux
6+
57You'll need the following tools installed on your system:
68
79```
@@ -21,6 +23,28 @@ Initial setup to install dependencies for Vite+:
2123just init
2224```
2325
26+ ### Windows
27+
28+ You'll need the following tools installed on your system. You can use [ winget] ( https://learn.microsoft.com/en-us/windows/package-manager/ ) .
29+
30+ ``` powershell
31+ winget install pnpm.pnpm OpenJS.NodeJS.LTS Casey.Just Kitware.CMake
32+ ```
33+
34+ Install Rust & Cargo from [ rustup.rs] ( https://rustup.rs/ ) , then install ` cargo-binstall ` :
35+
36+ ``` powershell
37+ cargo install cargo-binstall
38+ ```
39+
40+ Initial setup to install dependencies for Vite+:
41+
42+ ``` powershell
43+ just init
44+ ```
45+
46+ ** Note:** Run commands in PowerShell or Windows Terminal. Some commands may require elevated permissions.
47+
2448## Build Vite+ and upstream dependencies
2549
2650To create a release build of Vite+ and all upstream dependencies, run:
Original file line number Diff line number Diff line change @@ -8,8 +8,15 @@ _default:
88
99alias r := ready
1010
11- init :
11+ [unix ]
12+ _ clean_dist :
1213 rm -rf packages/ */ dist
14+
15+ [windows ]
16+ _ clean_dist :
17+ Remove-Item -Path ' packages/*/dist' -Recurse -Force -ErrorAction SilentlyContinue
18+
19+ init : _clean_dist
1320 cargo binstall watchexec-cli cargo-insta typos-cli cargo-shear dprint taplo-cli -y
1421 node packages/ tools/ src/ index.ts sync-remote
1522 pnpm install
You can’t perform that action at this time.
0 commit comments