-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
[STAGE-2] incomplete implementationRemove this label when implementation is completeRemove this label when implementation is complete[STAGE-2] not fully covered by tests yetRemove this label when tests are verified to cover the implementationRemove this label when tests are verified to cover the implementation[STAGE-2] unresolved discussions leftRemove this label when all critical discussions are resolved on the issueRemove this label when all critical discussions are resolved on the issue[STAGE-3] docs changes not added yetRemove this label when the necessary documentation for the feature / change is addedRemove this label when the necessary documentation for the feature / change is added[STAGE-3] missing 2 reviews for RFC PRsRemove this label when at least 2 core team members reviewed and approved the RFC implementationRemove this label when at least 2 core team members reviewed and approved the RFC implementation
Description
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.html
to 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
.
export interface QwikCityPlan {
readonly routes: RouteData[];
readonly serverPlugins?: RouteModule[];
readonly basePathname?: string;
readonly menus?: MenuData[];
readonly trailingSlash?: boolean;
readonly trailingIndex?: boolean; // <-------
readonly cacheModules?: boolean;
}
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
devcaeg
Metadata
Metadata
Assignees
Labels
[STAGE-2] incomplete implementationRemove this label when implementation is completeRemove this label when implementation is complete[STAGE-2] not fully covered by tests yetRemove this label when tests are verified to cover the implementationRemove this label when tests are verified to cover the implementation[STAGE-2] unresolved discussions leftRemove this label when all critical discussions are resolved on the issueRemove this label when all critical discussions are resolved on the issue[STAGE-3] docs changes not added yetRemove this label when the necessary documentation for the feature / change is addedRemove this label when the necessary documentation for the feature / change is added[STAGE-3] missing 2 reviews for RFC PRsRemove this label when at least 2 core team members reviewed and approved the RFC implementationRemove this label when at least 2 core team members reviewed and approved the RFC implementation