Skip to content

Commit

Permalink
upgrade to svelte-4 documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kokizzu authored Jun 22, 2023
1 parent bfbd0b6 commit aaa38e4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,16 @@ npm run build:prod # build project for production

just copy latest `build.js` to your project directory and then `npm i` or `pnpm i`

or if you are using pre Svelte-4:
```
# copy latest build.js to your project directory
cp ../svelte-mpa/build.js .
# upgrade package.json to svelte 4
npx svelte-migrate svelte-4 .
# update all dependencies
./update_deps.sh # or npm i # or pnpm i
```

## Dev Dependencies

- [svelte](//svelte.dev/) - cybernetically enhanced web apps
Expand Down

0 comments on commit aaa38e4

Please sign in to comment.