backstage/components
最新稳定版本:v0.0.1
Composer 安装命令:
composer require backstage/components
包简介
A collection of beautiful website components.
README 文档
README
From the makers of Backstage.
Installation
If you using backstage/cms these components are including by default.
composer require backstage/components
Add the following code to app.js.
import.meta.glob('../views/components/**/*.css', { eager: true }); import.meta.glob('../views/components/**/*.js', { eager: true });
Publishes a component
php artisan backstage:component {component?}
Contributing
If you made a website component follow these steps.
Add a subtree for the component repository
git subtree add --prefix components/CounterComponent git@github.com:backstagephp/Counter-Component.git main --squash
After you made changes to the component push to both repositories:
git add . git commit -m "Changed colors for heading" git push git subtree push --prefix components/CounterComponent git@github.com:backstagephp/Counter-Component.git main
You can also add the repository to the push-to-subtrees.yml Github action.
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-11-03