[✨] Add trailingIndex to QwikCity that enables SPA builds to function in Capacitor, Cordova, and other hybrid native app environments
#122
Replies: 4 comments
-
|
This makes sense but I think it should be a third state for Qwik-city doesn't have any other .html files right? So if you do |
Beta Was this translation helpful? Give feedback.
-
|
@wmertens, your example path is correct. I agree the third state would be a better solution, but just don't like the variable name but can live with it. |
Beta Was this translation helpful? Give feedback.
-
|
I am working on a Capacitor integration in Qwik, this enhancement would be good. |
Beta Was this translation helpful? Give feedback.
-
|
We moved this issue to |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem?
To support SPA builds for Capacitor, Cordova and other static hybrid host environments, it is necessary to include
/index.htmlto the path. Currently this is not possible without custom link logic sprinkled throughout the entire project.Describe the solution you'd like
Enhance QwikCity to include
trailingIndex.Describe alternatives you've considered
Custom
<SmartLink />components. This works but adds a layer of complexity to every project.Additional context
Related to QwikDev/qwik#5731
Beta Was this translation helpful? Give feedback.
All reactions