A WordPress Vue.js starter plugin with required toolbelts 😎
- Pre-configured webpack config
- Babel loader, Vue loader, CSS and LESS loader
- Separate
vendor.js
with all vendor scripts - Uglify JS for production
- Separate
frontend.js
andadmin.js
- Extracted CSS/LESS to separate
frontend.css
andadmin.css
files. - Auto reloading with Browser with Browsersync (config)
- Vue and Vue Router
- Frontend (shortcode) and Backend starter app
- Modern PHP codebase with namespace support
- Clone this repository in your plugins folder
- Activate the plugin
- The name of the plugin class is
Base_Plugin
, change the class name with your desired class name. - Replace the PHP namespace
App
with your desired name. - Replace
baseplugin
orBASEPLUGIN
reference in files. - Run
npm install
- To start developing, run
npm run dev
🤘 - For production build, run
npm run build
👍
Found anything that can be improved? You are welcome to contribute.