brikdigital/craft-baseplate
最新稳定版本:1.6.1
Composer 安装命令:
composer require brikdigital/craft-baseplate
包简介
README 文档
README
Setup guide
It's possible to do this setup without first setting up a blank DDEV project; but you'll need a local install of PHP and Composer. This approach is completely possible but unsupported, and as such will not be documented.
mkdir -p project-name/public_html && cd project-name
ddev config --php-version 8.3 --database mysql:8.0 --docroot public_html --project-type craftcms
rm -rf public_html
ddev composer create-project brikdigital/craft-baseplate .
# edit .ddev/config.yaml to contain the correct project name
ddev restart
Development
To start the Vite dev server, use either ddev pnpm serve or make dev. (the latter of which is a legacy command)
Additionally, there is a Storybook install that you can start with make storybook. This will be accessible on project-name.ddev.site:3001.
Notes when updating dependencies
Storybook
Do NOT manually bump Storybook's version through pnpm commands or package.json edits.
pnpm dlx storybook@latest upgrade will guide you through the process and make the necessary edits to the code if needed.
React and Webpack
These are solely here for Storybook. Do NOT update these unless Storybook itself has updated React or Webpack.
Biome, Prettier & Lefthook
If there is a major version upgrade, please consult the release notes on the respective repositories to see if there are any breaking changes.
统计信息
- 总下载量: 79
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MPL-2.0
- 更新时间: 2024-08-20