javascript - Jump between vue.js and html pages
PHP中文网
PHP中文网 2017-07-05 10:38:43
0
5
1117

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

PHP中文网
PHP中文网

认证0级讲师

reply all(5)
女神的闺蜜爱上我

window.open()

黄舟

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.

淡淡烟草味

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"

Peter_Zhu

This address can help you

phpcn_u1582

Trust me, there is no more appropriate way than a tag^_^

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!