03 2022 档案

摘要:安装 yarn add -D babel-plugin-styled-components; 配置:在vite.config.ts中配置plugin: plugins: [ react({ babel: { plugins: [ [ 'babel-plugin-styled-components', 阅读全文
posted @ 2022-03-19 00:02 Feng1024 阅读(1102) 评论(0) 推荐(0) 编辑
摘要:安装 yarn add @tailwindcss/line-clamp 使用 在tailwind.config.js引入插件: module.exports = { /** 省略其他 */ plugins: [ require('@tailwindcss/line-clamp'), // 引入插件 阅读全文
posted @ 2022-03-01 15:40 Feng1024 阅读(2733) 评论(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 阅读(799) 评论(0) 推荐(0) 编辑