Skip to content

Commit

Permalink
docs: align vike.dev/vike with vite-plugin-ssr.com/vike
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Sep 23, 2023
1 parent 0567645 commit 2d5ba48
Showing 1 changed file with 11 additions and 17 deletions.
28 changes: 11 additions & 17 deletions docs/pages/vike.page.server.mdx
Original file line number Diff line number Diff line change
@@ -1,24 +1,18 @@
import { Construction, Comment } from '@brillout/docpress'

<Construction>
The Vike rename ([#736](https://github.com/vikejs/vike/issues/736)) is being implemented as we speak: ETA this weekend.
This page will be updated and will contain instructions for how to migrate to Vike.
</Construction>

<Comment>
The vike project has been renamed to Vike ([vike.dev](https://vike.dev/)).
The vite-plugin-ssr project has been renamed to Vike ([vike.dev](https://vike.dev/)).

Functionally, nothing changes: it's just a new name for the same tool.

There are no breaking changes, although
- Starting from version `0.4.142` you'll have to use the [npm package `vike`](https://www.npmjs.com/package/vike) instead of the [npm package `vite-plugin-ssr`](https://www.npmjs.com/package/vite-plugin-ssr). We recommend applying following find-and-replace bash script:
```bash
grep ike --exclude-dir node_modules/ --exclude-dir .git/ | xargs sed -i 's/ike/ike/g'
```
This should do the trick for most users.
There are no breaking changes: the only change is that, starting from version `0.4.142`, you'll have to use the [npm package `vike`](https://www.npmjs.com/package/vike) instead of the [npm package `vite-plugin-ssr`](https://www.npmjs.com/package/vite-plugin-ssr). We recommend applying following find-and-replace bash script:
```bash
grep ite-plugin-ssr --exclude-dir node_modules/ --exclude-dir .git/ | xargs sed -i 's/ite-plugin-ssr/ike/g'
```

> `0.4.142` is the only version that is dual published as `vite-plugin-ssr@0.4.142`/`vike@0.4.142`, enabling you to migrate to `vike` simply applying this bash script.
> If this bash script doesn't work out for you, let us know.
> Let us know if this bash script doesn't work out for you.
- If you use [`vike-react`](https://github.com/vikejs/vike-react)/[`vike-vue`](https://github.com/vikejs/vike-vue)/[`vike-solid`](https://github.com/magne4000/vike-solid) then update it to the latest version.
If you use [`vike-react`](https://github.com/vikejs/vike-react)/[`vike-vue`](https://github.com/vikejs/vike-vue)/[`vike-solid`](https://github.com/magne4000/vike-solid) then we recommend to update it to the latest version.

For more information about the rename see [#736](https://github.com/vikejs/vike/issues/736).
</Comment>
For more information about the rename see [#736](https://github.com/brillout/vite-plugin-ssr/issues/736).

0 comments on commit 2d5ba48

Please sign in to comment.