isfawwaz / lorasin
WordPress Starter Theme for private projects based on AWPS
Installs: 170
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Forks: 0
Type:wordpress-theme
pkg:composer/isfawwaz/lorasin
Requires
- vlucas/phpdotenv: ^3.3
Requires (Dev)
README
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.