Skip to content

Commit

Permalink
docs: add note about vite-plugin-ssr -> Vike rename
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Sep 23, 2023
1 parent 2d5ba48 commit 1f0d96d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
> [!NOTE]
> The [`vite-plugin-ssr`](https://vite-plugin-ssr.com/) project has been renamed Vike. See [migration guide](https://vite-plugin-ssr.com/vike).
*Like Next.js/Nuxt but as do-one-thing-do-it-well Vite plugin.*

**Introducion & documentation** :arrow_right: [vike.dev](https://vike.dev)
Expand Down
19 changes: 18 additions & 1 deletion docs/docpress.config.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { Config } from '@brillout/docpress'
import { Link } from '@brillout/docpress'
import { headings } from './headings'
import { headingsDetached } from './headingsDetached'
import { projectInfo } from './utils'
Expand All @@ -19,5 +20,21 @@ export default {
websiteUrl: 'https://vike.dev',
algolia: { PENDING_APPROVAL: true },
bannerUrl: 'https://vike.dev/banner.png',
i18n: true
i18n: true,
globalNote: <GlobalNoteRename />
} satisfies Config

function GlobalNoteRename() {
return (
<>
<div style={{ display: 'flex', justifyContent: 'center', textAlign: 'center' }}>
<blockquote>
<p>
<a href="https://vite-plugin-ssr.com"></a>
<code>vite-plugin-ssr</code> has been renamed Vike, see <a href="https://vite-plugin-ssr.com/vike">migration guide</Link>.
</p>
</blockquote>
</div>
</>
)
}

0 comments on commit 1f0d96d

Please sign in to comment.