buzz / vite-plugin-ssr-i18n-client-routing

vite-plugin-ssr with i18n and client routing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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/ instead.

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

About

vite-plugin-ssr with i18n and client routing


Languages

Language:JavaScript 84.4%Language:TypeScript 14.2%Language:CSS 1.4%