Is it possible to use Aurelia in a non-spa application?

巧了我就是萌 提交于 2019-12-05 17:33:15

Sure, Aurelia can help you achieve that. You just won't use certain features like routing in on the pages you create with Aurelia.

That being said, it isn't a drop in replacement for jQuery, but none of the "modern" JS frameworks really are. And you're going to end up spending time learning whichever one you end up choosing.

Check out the aurelia.enhance functionality, it might be just what you're looking for!

I have used Aurelia in a non-SPA context, and it worked out well. I think this is exactly what you describe. For example:

http://legumeinfo.org/chado_phylotree/phytozome_10_2.59028020

https://github.com/legumeinfo/tripal_phylotree/tree/lis_master/theme/js/aurelia

I'm using aurelia for dynamic elements on some sites. Like comments for example. Page loads fast w/o comments.Then Aurelia kicks in and loads the comments below. Also with some signalR magic the discussion is updated in real time. It is awesome and insanely easy.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!