承接 clubstudio/craft 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

clubstudio/craft

最新稳定版本:5.1.0

Composer 安装命令:

composer require clubstudio/craft

包简介

README 文档

README

Craft CMS Boilerplate

A scaffolding package to help you hit the ground running with your next Craft CMS project.

What's included?

Getting Started

Install or update DDEV, then follow these steps:

  1. Create a project directory and move into it:
    mkdir my-craft-project && cd my-craft-project
    
  2. Create DDEV configuration files:
    ddev config --project-type=craftcms --docroot=web
    
  3. Scaffold the project from this starter project:
    ddev composer create -y "clubstudio/craft"
    
  4. Run ddev craft install and answer each prompt
  5. Run ddev launch to view the project in your browser

Next, feel free to read the offical Craft installation documentation.

Developing

After setting up Craft, you're almost ready to start building your new project! Before getting started you'll want to configure Vite and pull in all frontend dependencies.

First, add the following to your .ddev/config.yaml:

web_extra_exposed_ports:
    - name: vite
      container_port: 5173
      http_port: 5172
      https_port: 5173

and run ddev restart.

Next, install frontend dependencies by running:

ddev npm install

Once the dependencies have been installed, you can compile assets and start a watcher using:

ddev npm run dev

That's it! Happy coding! 🎉

When you've finished working, run ddev stop to shut down the project containers and free up resources.

About Craft CMS

Craft is a content-first CMS that aims to make life enjoyable for developers and content managers alike. It is optimized for bespoke web and application development, offering developers a clean slate to build out exactly what they want, rather than wrestling with a theme.

Learn more about Craft at craftcms.com.

Resources

统计信息

  • 总下载量: 4
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: Twig

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-01-24