vike
vike copied to clipboard
🔨 Flexible, lean, community-driven, dependable, fast Vite-based frontend framework.
### Description Reporting an error trace as requested in the error message. ``` "vite": "^3.0.2", "vite-plugin-ssr": "^0.4.13", ``` ### Error Stack ```shell newError newError.ts:13 assert assert.js:25 getPageContextSerializedInHtml getPageContextSerializedInHtml.js:7 getPageContext getPageContext.js:9...
### Question / Discussion I want to start a discussion about this based on some recent issues working with atomic CSS libraries such as UnoCSS and Tailwind CSS. It seems...
UnoCSS's HMR doesn't work when using vite-plugin-ssr with [HTML-only](https://vite-plugin-ssr.com/render-modes#html-only) mode. Note that UnoCSS (including HMR) does work when using vite-plugin-ssr with SPA and SSR mode. The problem is fixable (see...
The docs indicate that this plugin can be used with Vue Router for client-side routing, but does not go into any more detail. Is an example planned for this integration?...
### Question / Discussion ## Minimal Example https://github.com/AaronBeaudoin/vps-issue-userland-mode ## Description > **This description is just copy-pasted from the repo linked above.** All of the issues I'm running into with VPS...
Instead of having several page files (`.page.js`, `.page.route.js`, `.page.server.js`, `.page.client.js`), we would define everything in `.page.js` (while `vite-plugin-ssr` automatically statically extracts the relevant parts like in https://next-code-elimination.vercel.app.) Many people have...
So far the recommended way is to use vanilla Node.js (or with `ts-node`) to run the user's Node.js server code (e.g. Express.js). The reason being that Vite has some troubles...
### Description As explained in https://github.com/brillout/vite-plugin-ssr/issues/224, we cannot apply HTML transformers of Vite plugins for SSR apps. That said, for [SSG apps](https://vite-plugin-ssr.com/pre-rendering) (i.e. pre-rendering *all* pages), we could apply HTML...
### Description Being able to define the entire routing of the app in a single file. ```ts // vike.config.h.ts import type { Config } from 'vike/types' import LandingPage from './pages/LandingPage.js'...
Current way of pushing assets to the browser beforer rendering HTML: https://discord.com/channels/815937377888632913/815937377888632916/943509260879405116. The `pageContext._getPageAssets()` is an internal API subject to change upon any release; make sure to pin your vite-plugin-ssr...