Skip to content

How to make each href with a domain name? #937

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

Closed
bs32g1038 opened this issue Nov 25, 2016 · 1 comment
Closed

How to make each href with a domain name? #937

bs32g1038 opened this issue Nov 25, 2016 · 1 comment

Comments

@bs32g1038
Copy link

bs32g1038 commented Nov 25, 2016

for example:

<router-link to="/category/news">news</router-link>

I want it to be like this.

After vue compiled, the "a tag of href" can with domain name.
such as: <a href="http://127.0.0.1/category/news">news</a>

How should I go to realize it?

@posva
Copy link
Member

posva commented Nov 25, 2016

Maybe using the base option will work.
Why do you need that?

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

3 participants