Skip to content

ffhope/nextjs-antd-demo

Repository files navigation

Getting Started

环境

node >= 15
npm >= 6

运行

npm run dev

编译 i18n

npm run convert

目录结构

  • build - 编译打包配置文件
  • src
    • assets - 静态资源
    • components - 组件
    • config - 设置api地址和全局配置
    • pages - 页面
    • services - 请求接口
    • styles - 全局样式表以及 iconfont 样式
    • utils - 工具类

Feature

  • i18n
  • responsive
  • permission

Lib

  • nextjs - ssr渲染框架,路由自动化
  • antd - UI 组件
  • react-intl - 国际化插件
  • TypeScript - 类型检查,提高团队协作效率
  • eslint - 规范

FAQ

格式

代码规范使用了 eslint。

About

基于nextjs和antd搭建的基础框架

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published