javascript - Polymer Routing with page.js do not add hashbang to URLs when links are opened in new tab -


i using polymer starter kit uses page.js routing. hashbang page option set true in routing.html

// add #! before urls page({   hashbang: true }); 

when links such <a href="/products/productname"></a> clicked, #! added , resulting url looks this: http://localhost:3000/#!/products/productname when links opened in new browser tab, http://localhost:3000/products/productname. how can have #! added when links opened in new tab?

you have write

<a href="#!/products/productname" 

in every href


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -