项目
在 GitHub 查看
Alecaddd/awps
关于
A Modern WordPress Starter Theme for savvy Developers
网站与应用开发可以做什么
- Bult-in webpack.mix.js for fast development and compiling.
- OOP PHP, and namespaces with PSR4 autoload.
- Customizer ready with boilerplate and example classes.
- Gutenberg ready with boilerplate and example blocks.
实测星标增长
- 24小时
- -1
- 7天
- -1
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文A Modern WordPress Starter Theme for savvy Developers
Prerequisites
This theme relies on NPM and Composer in order to load dependencies and packages. Webpack should always be running and watching during the development process, in order to properly compile and update files.
Installation
- Move the
.env.exampleto your WordPress root directory, rename it as.env, and setup your website variables - Move the
wp-config.sample.phpto your WordPress root directory and rename it aswp-config.php, to replace the default one - Open a Terminal window on the location of the theme folder
- Execute
composer install - Execute
npm install
Webpack
AWPS uses Laravel Mix for assets management. Check the official documentation for advanced options
- Edit the
webpack.mix.jsin the root directory of your theme to set your localhost URL and customize your assets npm run watchto start browserSync with LiveReload and proxy to your custom URLnpm run devto quickly compile and bundle all the assets without watchingnpm run prodto compile the assets for production
Features
- Bult-in
webpack.mix.jsfor fast development and compiling. OOPPHP, andnamespaceswithPSR4autoload.Customizerready with boilerplate and example classes.Gutenbergready with boilerplate and example blocks.ES6 Javascriptsyntax ready.- Compatible with
JetPack,WooCommerce,ACF PRO, and all the most famous plugins. - Built-in
FlexBoxResponsive Grid. - Modular, Components based file structure.
License
探索相关项目
加载中…
