qwikifiers/qwik-nx

preview throws an error if using routeAction$ function

Closed this issue · 0 comments

To reproduce:

  1. Create a qwik-nx repo with an app
  2. add a page with a form according to the docs https://qwik.builder.io/docs/action/#routeaction
  3. try to run the preview nx preview myapp

Notice an error

It looks like the entry.preview.mjs has a wrong order of declarations when built in the Nx workspace. This is not the case for regular apps