I use svelte-spa-router npm module for the router of my svelte project. When using this module it adds "#" in the URL in default to denote it is the spa router. Such as "localhost:5000/#/app/.." I want to remove this "#" and make the router as the whole router such as "localhost:5000/app" Could anybody help me with this, please?
How to remove "#" in svelte spa router?
2.8k Views Asked by mingxingwang At
1
There are 1 best solutions below
Related Questions in WEB
- What is the point of definnig Asp.net Intrinsic Objects In different places and what is the different betwen them?
- how to prepend www if the url string does not has www?
- @Value annotation not resolved in a class that belongs to dependency jar
- referral link isn't being locked to one ip
- Under what conditions does href="#" cause scrolling to the top of the page?
- Webpage - Font size of table items on mobile phone browsers changes
- Web Service Error path property must set before calling the send method
- Calling ASP webpage from C# application
- What is the best way to make two web pages communicate between each other back and forth?
- CSS Different screen resolution
- How can hide url value in php
- HTML Control Form with PHP - Errors
- How would I use an only for IE8 and not for any other browser
- Client side computation without exposing code?
- detecting a file downloaded in selenium java
Related Questions in URL-ROUTING
- How to add menus/ subtopics for meteor site?
- Why has overriding password hashing caused urls to break in magento admin?
- How to make morre readable URIs using unique-id-plus-redundant-information (UPRI) using PHP with Laravel
- htaccess set http on all pages except login page
- Flask URL routing : url_for only passes first argument
- Routing in Express.js
- Redirect website to another website if blocked in particular region
- $location error in angularJS
- Ember.js Routing: 'refreshModel: true' on queryParams without updating child route model
- passing parameters to dynamic templateurl
- Node.js / Express routing doesn't work properly
- ASP .NET Routing with Web Forms
- Express dynamic routing using / and /:slug as different route files
- Open page url in modal on a page (Facebook Photo URLs)
- Including controller when routing in AngularJS
Related Questions in SVELTE
- How to apply styles to slot element in Svelte?
- How to debounce / throttle with Svelte?
- Firebase deployng Sapper app as cloud function failed
- Joomla add 3rd party component
- Svelte: is there a way to cache the api result in a way that it won't trigger the api call everytime the component renders?
- Svelte Derived Store atomic / debounced updates
- Can Svelte.js be used for data driven templates?
- Raised-bed with svelte
- svelte event parameter type for typescript
- How can I add a slide up effect to deleting a record in Svelte?
- Svelte custom event on svelte typescript
- Read a csv file on request in sapper, svelte
- How is Svelte using the 'this' keyword in this scenario?
- API requests does not work, no error shown(svelte, sapper)
- display axios data in svelte
Related Questions in URI-FRAGMENT
- URL fragment lost as part of SAML token authentication; workaround / standard pattern?
- How to use #/fragment identifier with file:// URI/URL protocol
- UriFragmentUtility causes servlet exception
- Is there a way to scroll to URI fragments without adding them to history?
- How to monitor the changes in the url (Fragment identifier - the anchor portion of a URL )
- Query after '#' in https://www.google.co.in/#q=better+flight+search
- Log request string URL with # (number sign, hash, fragment) to apache/httpd custom access log?
- URI Fragment identifier to scroll to an element that is generated with JavaScript
- FormsAuthentication.RedirectFromLoginPage - fragment not preserved on redirect
- Is the URL fragment identifier sent to the server?
- How to remove "#" in svelte spa router?
- Selenium IE webdriver's getCurrentUrl() leaves out the part of url after the hash
- Accessing Jump Links (the part of the URL after a hasch character, #) from the code behind
- Retain Url Fragment within ReturnUrl in Forms Authentation under MVC
- How to scroll to a named anchor in WebView url?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
This is not possible with
svelte-spa-router. This package is a hash-based router, and the "#" is key to how this type of router works. From the package docs:If you want your URL to not have a "#", you will need to switch to a HTML5 history-based router such as svelte-routing or routify.