nuxt.js使用教程_使用Nuxt.js构建的HackerNews克隆

nuxt.js使用教程

Nuxt.js黑客新闻 (Nuxt.js Hacker News)

HackerNews clone built with Nuxt.js.

使用Nuxt.js构建的HackerNews克隆。

性能 (Performance)

特征 (Features)

  • Server Side Rendering & Caching

    服务器端渲染和缓存

  • Code Splitting

    代码分割

  • Single-file Vue Components

    单文件Vue组件

  • Real-time List Updates with FLIP Animation

    使用FLIP动画进行实时列表更新

  • Prefetch/Preload JS + DNS + Data

    预取/预加载JS + DNS +数据

  • Critical Path CSS

    关键路径CSS

  • PWA experience using PWA Module with almost zero config

    使用PWA模块配置几乎为零的 PWA经验

  • PRPL

    PRPL

  • Hot reloading dev environment integrated with ESLint and Prettier

    热重装与集成开发环境ESLint更漂亮

构建设置 (Build Setup)

Requires Node.js 6+

需要Node.js 6+

# install dependencies
npm install # or yarn

# serve in dev mode, with hot reload at localhost:3000
npm run dev

# build for production
npm run build

# serve in production mode
npm start

# validate code with ESLint (with Prettier)
npm run lint

# validate andf fix with ESLint (with Prettier)
npm run lintfix

翻译自: https://vuejsexamples.com/hackernews-clone-built-with-nuxt-js/

nuxt.js使用教程

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值