I wrote an html page outside the vue.js project. How to jump to this html page in the vue.js page?
For example, the name of the html page is aaa.html.
This is the directory of vue.js
This is the html file I want to jump to
How to jump
黄舟2017-07-05 10:40:43
If you don’t want to jump out of the single-page application, you can also write a preview page and use an iframe to load the external page. If it is a webApp, you can call the native method to create a new webview display.
淡淡烟草味2017-07-05 10:40:43
You can use the a tag, but it’s a bit low
You can also add a click event in the template and handle it in methods, window.location.href="aaa.html"