1 Star 0 Fork 0

一路生花 / Taro+react

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
tailwind.config.js 727 Bytes
一键复制 编辑 原始数据 按行查看 历史
一路生花 提交于 2024-01-03 15:15 . 初始化项目
/* eslint-disable import/no-commonjs */
/** @type {import('tailwindcss').Config} */
module.exports = {
// 这里给出了一份 taro 通用示例,具体要根据你自己项目的目录结构进行配置
// 比如你使用 vue3 项目,你就需要把 vue 这个格式也包括进来
// 不在 content glob表达式中包括的文件,在里面编写tailwindcss class,是不会生成对应的css工具类的
content: ["./public/index.html", "./src/**/*.{html,js,ts,jsx,tsx}"],
// 其他配置项 ...
corePlugins: {
// 小程序不需要 preflight,因为这主要是给 h5 的,如果你要同时开发多端,你应该使用 process.env.TARO_ENV 环境变量来控制它
preflight: false,
},
};
1
https://gitee.com/grow-flowers-all-the-way-TQS/taro-react.git
git@gitee.com:grow-flowers-all-the-way-TQS/taro-react.git
grow-flowers-all-the-way-TQS
taro-react
Taro+react
master

搜索帮助