Skip to content

Latest commit

 

History

History
58 lines (47 loc) · 1.52 KB

README.md

File metadata and controls

58 lines (47 loc) · 1.52 KB

MetaMail Website

This is the frontend project of MetaMail which based on Next.js.

Getting Started

First, install dependencies.

yarn install

Then, start local development.

yarn dev

There you go. Check localhost:8000.

Deploy to server.

npm run build
# or
yarn build

Then generate out folder in root directory. put it on the server as static html


.
├── assets # 资源 - img & icon
├── components # 所有组件
├── context # 全局上下文 用于共享公共函数或变量
├── hooks # 自定义hooks
├── lib # 逻辑库
├───── base # 基础类库
├───── constants # 常量 - 不变的 & 配置性的
├───── http # 业务http请求
├───── session-storage # 本地存储 - sessionStorage
├───── utils # 工具函数集
├───── sign # 签名
├───── zustand-store # 状态管理 - zustand
├── pages # 页面
├── public # 公共资源
├── styles # 样式
├── .prettierrc # 代码格式化风格配置
├── next-env.d.ts # 环境配置
├── next.config.js # 工程配置
├── package.json # 依赖包
├── postcss.config.js # postcss配置文件
├── README.md # 工程介绍
├── tailwind.config.js # tailwindcss 配置文件
├── tsconfig.json # typescript配置文件
└── yarn.lock # 锁文件 - yarn