TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: What is the best JavaScript framework for a multipage application?

1 点作者 autoreleasepool大约 8 年前
Disclaimer: I am not a professional web developer. I have never seriously done front-end work.<p>I am writing an web application in Elixir&#x2F;Phoenix. It is an app with many categories that does not fit the single-page application model.<p>That being said, I want it to look and feel like a modern web application by 2017&#x27;s standards. Ideally, I could use a lean JavaScript framework for interactive UI elements, validation, assorted bells and whistles, etc.<p>Everything I&#x27;ve come across seems like absolute overkill for my needs. It&#x27;s also hard to find a framework that isn&#x27;t tightly coupled with the SPA label. I do not want to work around an SPA framework, nor do I wish to force my app to be an SPA.

1 comment

dexwiz大约 8 年前
If you just want simple HTML I would suggest Express [1] with Nunjucks [2]. Use Express as your webserver&#x2F;router and Nunjucks as your view layer. Nunjucks is very similar to Jinja2 and other common Mustache&#x2F;Handlebar templating languages.<p>[1]<a href="https:&#x2F;&#x2F;expressjs.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;expressjs.com&#x2F;</a> [2]<a href="https:&#x2F;&#x2F;mozilla.github.io&#x2F;nunjucks&#x2F;" rel="nofollow">https:&#x2F;&#x2F;mozilla.github.io&#x2F;nunjucks&#x2F;</a>
评论 #13925932 未加载