🧑💻👩💻👨💻
Cloud Studio Blog
- 📝 MDX support
- 🦾 TypeScript
- 🗂 File based routing
- 🌍 I18n ready
- ⚙️ Eslint + Prettier
- 🔥 TailwindCss
- Next.js - The React Framework.
- Tailwind CSS - A utility-first CSS framework for rapidly building custom user interfaces.
- mdx-bundler - Compile and bundle your MDX files and their dependencies. FAST.
- React 18.x - A JavaScript library for building user interfaces.
进入 daily-blog 之后,使用 yarn start
启动
目前采用都是比较新的库,node 须 16+
next.js 13 以前的版本使用 next/legacy/image
,之后新页面编写都使用最新的 next/image
,api 相关可查看 next.js 官方最新文档。
src/components
存放公共业务组件src/css
存放所有页面样式,支持 sass 写法src/layouts
博客列表,博客详情页面布局src/pages
新增页面入口src/public
logo, favicons 等简单图片,其他图片建议存放在 COSsrc/script
工具类函数src/store
存放静态数据src/hook
自定义hook