flagbit / tailwind-theme
Shopware 6 Tailwind 主题
dev-develop
2022-02-10 16:05 UTC
This package is auto-updated.
Last update: 2024-09-10 22:21:32 UTC
README
🔥🔥🔥 该主题将 tailwindcss 和 alpine.js 集成到 shopware 6 中。 🔥🔥🔥
注意
这是一个 原型。仍在开发中。⚠️ 不要在生产环境中使用。
💙 如果你想拥有一个完整的 Tailwindcss 主题,请参与此处,并通过拉取请求提交你的更改。✨
安装
安装所需的 node_modules
yarn install
(使用 node 版本 >= 15.8.0)
构建过程
构建 app.css 和 app.js
yarn build:dev
(包含所有 tailwind 样式)
或者
yarn build:prod
(仅包含使用的 tailwind 样式,purgedCSS 版本)
将 Tailwindcss 主题复制到 Shopware 6 开发文件夹中
将 Tailwindcss 主题的所有文件复制到 shopware 6 目录中的 custom/plugins/Tailwind
文件夹
构建 Shopware 6 商店前端
./psh.phar storefront:build
(例如,在您的 docker 容器中使用此命令)
组件列表
- 导航 🚧
- 按钮 🚧
- 链接 🚧
- 卡片 🚧
- 图片 🚧
- ...