An open API service indexing awesome lists of open source software.

https://github.com/buzz/vite-plugin-ssr-i18n-client-routing

vite-plugin-ssr with i18n and client routing
https://github.com/buzz/vite-plugin-ssr-i18n-client-routing

Last synced: 7 months ago
JSON representation

vite-plugin-ssr with i18n and client routing

Awesome Lists containing this project

README

          

Example of an internationalized (i18n) `vite-plugin-ssr` app.

Note how the locale is extracted in `server/index.js`.

If you pre-render your app, then have a look at [/examples/i18n-prerender/](/examples/i18n-prerender/) instead.

```bash
git clone git@github.com:brillout/vite-plugin-ssr
cd vite-plugin-ssr/examples/i18n/
npm install
npm run dev
```