What happened?
Using in a UMD setup with an inline HTML template crashes with:
TypeError: Cannot read properties of undefined (reading 'value')
at setup (quasar.umd.prod.min.js:12:284707)
The crash is in QLayout.setup(), where it accesses isRuntimeSsrPreHydration.value. In the production UMD build, this variable is undefined at the time setup() runs.
The same code works with:
Quasar 2.18.7 prod build ✓
Quasar 2.19.x dev build (quasar.umd.js) ✓
This is a regression introduced in 2.19.0 (rolldown build toolchain).
What did you expect to happen?
Page renders without error.
Reproduction URL
https://jsfiddle.net/c4jdospL/
How to reproduce?
- Go to the reproduction URL
- Execute
- Look at the console
Flavour
UMD
Areas
SPA Mode
Platforms/Browsers
No response
Quasar info output
Relevant log output
Additional context
No response
Workaround
Use the dev build instead of the prod build:
<script src="https://cdn.jsdelivr.net/npm/quasar@2.19.2/dist/quasar.umd.js"></script>
What happened?
Using in a UMD setup with an inline HTML template crashes with:
TypeError: Cannot read properties of undefined (reading 'value')
at setup (quasar.umd.prod.min.js:12:284707)
The crash is in QLayout.setup(), where it accesses isRuntimeSsrPreHydration.value. In the production UMD build, this variable is undefined at the time setup() runs.
The same code works with:
Quasar 2.18.7 prod build ✓
Quasar 2.19.x dev build (quasar.umd.js) ✓
This is a regression introduced in 2.19.0 (rolldown build toolchain).
What did you expect to happen?
Page renders without error.
Reproduction URL
https://jsfiddle.net/c4jdospL/
How to reproduce?
Flavour
UMD
Areas
SPA Mode
Platforms/Browsers
No response
Quasar info output
Relevant log output
Additional context
No response
Workaround
Use the dev build instead of the prod build:
<script src="https://cdn.jsdelivr.net/npm/quasar@2.19.2/dist/quasar.umd.js"></script>