基于 Vue.js 的应用开发框架

For Universal Applications.

Nuxt.js 内置了使用 Vue.js 开发应用程序的所有必须的配置。

为什么选择 Nuxt?

Performant

性能

基于 Vue.js 和 Node.js 的最佳实践,我们尽最大努力构建性能优异的应用程序。 为了压榨你的应用程序中的每一个不必要的比特,Nuxt 包含一组分析器可以对你的应用程序进行微调。

Modular

模块化

Nuxt 基于功能强大的模块化架构。你可以从 50 多个模块中进行选择并使用,以便让你的开发更快速、更简单。你无需为了采用 PWA 、为页面添加 google 分析或者生成站点地图而去重新造轮子。

Enjoyable

愉快

开发者的体验是我们首要关注的目标。我们热爱 Nuxt.js 并不断改进这个框架,所以希望你也喜欢它! 💚
Nuxt.js 提供了有吸引力的解决方案、详细的错误消息描述、强大的默认值和详细的文档。如果遇到问题或困难,我们的社区将帮你解决。

Rendering modes

  • 服务器端绘制
  • 生成静态站点
  • 单页面应用

服务器端绘制(通用)

The most popular mode for Nuxt. With SSR, also called "universal" or "isomorphic" mode, a Node.js server will be used to deliver HTML based on your Vue components to the client instead of the pure javascript. Using SSR will lead to a large SEO boost, better UX and more opportunities (compared to a traditional Vue SPA).

Because implementing SSR on your own can be really tedious, Nuxt.js gives you full support out of the box and will take care of common pitfalls.

生成静态站点(预先绘制)

Static Site Generation is a very hot topic right now! Instead of switching to another framework and spending time to get used to it, why not killing two birds with one stone? (only proverbial 🐦🐦)

Nuxt.js supports generating a static website based on your Vue application. It is the "best of both worlds" as you don't need a server but still have SEO benefits because Nuxt will pre-render all pages and include the necessary HTML. Also, you can deploy the resulting page easily to Netlify or GitHub pages.

单页面应用 (SPA)

Don't need SSR or Static Site Generation but still want to profit from the benefits that Nuxt provides? Are you slowly transitioning your app and want to start lightweight? Then the traditional SPA mode will likely be your choice. The outcome will be a typical Vue SPA as you know it but influenced by your Nuxt configuration and the framework itself.

支持开发团队

Nuxt.js 基于 MIT 许可证发布并且完全免费使用。然而,如果没有适当的财政支持,维护和开发新功能所需的大量努力将无法持续。你的捐赠将直接支持功能的开发和改进,最重要的是,产出优秀的文档和学习材料。