-
-
Notifications
You must be signed in to change notification settings - Fork 351
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: align vike.dev/vike with vite-plugin-ssr.com/vike
- Loading branch information
Showing
1 changed file
with
11 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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). |