简体   繁体   中英

Open a new PWA window - Inside the PWA

I'm trying to open a new window of my PWA application inside of it. But when I click on the anchor a new chrome tab is open.

Anyone can help me to open two instances of my PWA application?

An example of it is outlook, where you can open a new window of the application to write your email.

Thanks

The solution was very easy, I just need to open the new window using the window.open, and not using the anchor tag (A).

Documentation about this function:

https://developer.mozilla.org/pt-PT/docs/Web/API/Window/open

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM