完成第一版
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-07-11 23:12:30 +08:00
commit e35583c254
41 changed files with 19394 additions and 0 deletions

12
tailwind.config.js Normal file
View File

@@ -0,0 +1,12 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
// 这里给出了一份 taro 通用示例,具体要根据你自己项目的目录结构进行配置
// 比如你使用 vue3 项目,你就需要把 vue 这个格式也包括进来
// 不在 content glob表达式中包括的文件在里面编写tailwindcss class是不会生成对应的css工具类的
content: ["./public/index.html", "./src/**/*.{html,js,ts,jsx,tsx,vue}"],
// 其他配置项 ...
corePlugins: {
// 小程序不需要 preflight因为这主要是给 h5 的,如果你要同时开发多端,你应该使用 process.env.TARO_ENV 环境变量来控制它
preflight: process.env.TARO_ENV === "h5",
},
};