Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not real respect <base > tag #1424

Closed
sabakugaara opened this issue May 17, 2017 · 2 comments
Closed

not real respect <base > tag #1424

sabakugaara opened this issue May 17, 2017 · 2 comments

Comments

@sabakugaara
Copy link
Contributor

This example is from the html spec about base tag https://html.spec.whatwg.org/multipage/semantics.html#the-base-element:

In this example, a base element is used to set the document base URL:

<!DOCTYPE html>
<html lang="en">
    <head>
        <title>This is an example for the &lt;base&gt; element</title>
        <base href="https://www.example.com/news/index.html">
    </head>
    <body>
        <p>Visit the <a href="archives.html">archives</a>.</p>
    </body>
</html>

The link in the above example would be a link to "https://www.example.com/news/archives.html".

If the archives's href start with /, the link would be a link to "https://www.example.com/archives" (whithout /news/) . And vue-router now doesn't support set base with: https://www.example.com/news/index.html.

some other maybe related discussions: remix-run/history#94

@vue-bot
Copy link

vue-bot commented May 17, 2017

Hello, your issue has been closed because it does not conform to our issue requirements. Please use the Issue Helper to create an issue - thank you!

@vue-bot vue-bot closed this as completed May 17, 2017
@sabakugaara
Copy link
Contributor Author

need some help thanks!

Search Engines's page cache will inject base tag for every cached page, but, when I add * route rule for 404, it will not work right

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants