简体   繁体   English

Polymer 1.0 page.js 或 app-router

[英]Polymer 1.0 page.js or app-router

Hello what are the pros and cons of using page.js or app-router as my routing components for a polymer 1.0 app?您好,使用 page.js 或 app-router 作为聚合物 1.0 应用程序的路由组件的优缺点是什么? Which one should I use?我应该使用哪一种?

Thank you谢谢

You can try dna-router .你可以试试dna-router Through this you can create routes in HTML.通过这种方式,您可以在 HTML 中创建路由。

For more info, visit : https://github.com/Saquib764/dna-router更多信息,请访问: https : //github.com/Saquib764/dna-router

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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