脚手架帮你做了什么?手动搭建 React 后台项目
有时候过于依赖脚手架、各种库,会让我们的能力陷入一个瓶颈。本教程试图从零开始,记录一个项目的形成过程。
本教程涉及什么 涉及技术 React
Tailwind + SCSS
Git(Github)
预备知识 最好能有所了解。
基础工作 创建 Git 仓库 名称:bloggo-admin-frontend
链接:https://github.com/pluveto/bloggo-admin-frontend
创建项目目录 1$ cd ~/proj 2 3$ mkdir bloggo-admin-frontend 4 5$ cd bloggo-admin-frontend 初始化项目 1 2$ npm init 3This utility will walk you through creating a package.json file. 4It only covers the most common items, and tries to guess sensible defaults. 5 6See `npm help init` for definitive documentation on these fields 7and exactly what they do.
Read more...