Flex is the simplest WordPress starter theme including full setup for Sass, PostCSS, Autoprefixer, stylelint, Webpack, ESLint, imagemin, Browsersync, etc.
composer install
yarn install
yarn wp-env start # Optional step: If you wish to run this theme via WP-ENV and Docker
yarn dev
You can modify the configurations by editing config
in webpack.mix.js
.
mix.browserSync({
proxy: 'http://localhost:8888',
open: 'external',
port: 3000,
files: ['*.php', 'includes/**/*.php', 'views/**/*.php', 'source/**/**/*']
});
© 2020-2021 the contributors of PressX under the [GPL version 2.0] or later. For more information, visit: https://github.com/pressxco/flex/blob/master/LICENSE