nystudio107/site-module
Composer 安装命令:
composer create-project nystudio107/site-module
包简介
An example module for Craft CMS 3 that lets you enhance your websites with a custom site module
README 文档
README
An example module for Craft CMS 3 that lets you enhance your websites with a custom site module.
Requirements
This module requires Craft CMS 3.0.0-RC3 or later.
Installation
To install the plugin, follow these instructions.
-
Copy the
modulesfolder into your project root directory -
Either copy the
app.phpinto yourconfig/directory, or copy & paste the*settings in theapp.phpinto your project'sapp.phpfile -
Make sure you have the following in your project's
composer.json:
"autoload": {
"psr-4": {
"modules\\sitemodule\\": "modules/sitemodule/src/"
}
},
- If you didn't have the above
autoloadsettings in yourcomposer.jsonyou'll also need to do the following command from your project root:
composer dump-autoload
site-module Overview
Read the Enhancing a Craft CMS 3 Website with a Custom Module article for details.
site-module Roadmap
Some things to do, and ideas for potential features:
- Initial release
Brought to you by nystudio107
统计信息
- 总下载量: 23
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 19
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-12-30