摘要: 安装 yarn add @tailwindcss/line-clamp 使用 在tailwind.config.js引入插件: module.exports = { /** 省略其他 */ plugins: [ require('@tailwindcss/line-clamp'), // 引入插件 阅读全文
posted @ 2022-03-01 15:40 Feng1024 阅读(2335) 评论(0) 推荐(0) 编辑
摘要: 环境 node、npm vite VS Code扩展: Headwind:脚本排序 Tailwind CSS IntelliSense: 代码提示 安装 1、通过vite创建react项目 yarn create vite react-project --template react-ts 2、初始 阅读全文
posted @ 2022-03-01 09:59 Feng1024 阅读(732) 评论(0) 推荐(0) 编辑