You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use svelte-routing for building smaller "widget-like" applications that can be used as a child component in another bigger parent application. Parent application (let's say vue.js with vue-router) will be managing master routing and be attached to browser URL but navigation in child applications would be functioning on "internal" URL address and not modifying browser URL address.
My question is then...
Is it possible to use a svelte-routing library without modifying browser URL address?
Update: After a little bit of investigation I setted const canUseDOM to false (in /history.js file) and it's almost working as I would like (url prop in App.svelte is not working). So my question can be potentially changed to: "How can I manually set value canUseDOM?"
The text was updated successfully, but these errors were encountered:
Hello there.
I have a question / feature request.
My use-case
I want to use svelte-routing for building smaller "widget-like" applications that can be used as a child component in another bigger parent application. Parent application (let's say vue.js with vue-router) will be managing master routing and be attached to browser URL but navigation in child applications would be functioning on "internal" URL address and not modifying browser URL address.
My question is then...
Is it possible to use a svelte-routing library without modifying browser URL address?
Example
An example would be Bootstrap tabs (https://getbootstrap.com/docs/3.3/javascript/#tabs-examples) where one tab would be one route but switching between tabs would not result in change of the browser URL address.
Update: After a little bit of investigation I setted const
canUseDOM
tofalse
(in/history.js
file) and it's almost working as I would like (url
prop inApp.svelte
is not working). So my question can be potentially changed to: "How can I manually set valuecanUseDOM
?"The text was updated successfully, but these errors were encountered: