diff --git a/packages/qwik-nx/src/generators/application/files/src/entry.preview.tsx__template__ b/packages/qwik-nx/src/generators/application/files/src/entry.preview.tsx__template__ index f8bc819..d240a2d 100644 --- a/packages/qwik-nx/src/generators/application/files/src/entry.preview.tsx__template__ +++ b/packages/qwik-nx/src/generators/application/files/src/entry.preview.tsx__template__ @@ -11,8 +11,9 @@ * */ import { createQwikCity } from '@builder.io/qwik-city/middleware/node'; -import render from './entry.ssr'; +// The `render` import must stay after `qwikCityPlan` import: https://github.com/BuilderIO/qwik/issues/3634 import qwikCityPlan from '@qwik-city-plan'; +import render from './entry.ssr'; /** * The default export is the QwikCity adaptor used by Vite preview.