heyblackmagic/wp-foundation
最新稳定版本:v1.0.0
Composer 安装命令:
composer create-project heyblackmagic/wp-foundation
包简介
WordPress boilerplate with Composer, easier configuration, and an improved folder structure
README 文档
README
Development from scratch
- Run
composer create-project heyblackmagic/wp-foundation ./PATHto create a WP instance with Composer. - In the directory where the project was installed, run
composer updateto install plugins and composer dependencies. - Then run
npm install && npm run buildto install node packages and generate the asset bundle. - With the terminal enter the
./public_htmldirectory and executevalet link VHOST_NAME, whereVHOST_NAMEis the name of the local domain. Example: "valet link foundation".
Development continuation from git pull
- Pull / Clone the project.
- Go to project folder and run the command
composer update,npm installandnpm run build. - Rename
env.exampleto.envand update the variables. - With the terminal enter the
./public_htmldirectory and executevalet link VHOST_NAME, whereVHOST_NAMEis the name of the local domain. Example: "valet link foundation".
Directory
. ├── LICENSE.md ├── README.md ├── composer.json ├── composer.lock ├── config │ ├── application.php │ └── environments │ ├── development.php │ └── staging.php ├── package-lock.json ├── package.json ├── phpcs.xml ├── postcss.config.js ├── public_html │ ├── app │ │ ├── mu-plugins │ │ │ └── bedrock-autoloader.php │ │ ├── plugins │ │ ├── themes │ │ │ └── foundation │ │ │ ├── assets │ │ │ │ └── img.jpg │ │ │ ├── components │ │ │ │ ├── component-footer.php │ │ │ │ └── component-header.php │ │ │ ├── footer.php │ │ │ ├── front-page.php │ │ │ ├── functions.php │ │ │ ├── header.php │ │ │ ├── home.php │ │ │ ├── inc │ │ │ │ ├── child-items.php │ │ │ │ ├── helpers.php │ │ │ │ ├── menu-items.php │ │ │ │ ├── template-functions.php │ │ │ │ ├── vite-constants.php │ │ │ │ ├── vite-env.php │ │ │ │ └── vite-scripts.php │ │ │ ├── index.php │ │ │ ├── meta │ │ │ │ ├── favicon.php │ │ │ │ └── fonts.php │ │ │ ├── page.php │ │ │ ├── snippets │ │ │ └── style.css │ │ └── uploads │ ├── index.php │ └── wp-config.php ├── src │ ├── js │ │ └── app.js │ ├── public │ └── scss │ ├── abstracts │ │ ├── _mixins.scss │ │ ├── _variables.scss │ │ └── index.scss │ ├── app.scss │ ├── base │ │ ├── _buttons.scss │ │ ├── _helpers.scss │ │ ├── _images.scss │ │ ├── _reset.scss │ │ ├── _root.scss │ │ ├── _typography.scss │ │ └── index.scss │ ├── components │ │ └── index.scss │ ├── snippets │ │ └── index.scss │ ├── templates │ │ └── index.scss │ └── vendor │ └── index.scss ├── templates -> public_html/app/themes/foundation ├── vite.config.js └── wp-cli.yml
统计信息
- 总下载量: 11
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-05-15