Vue.js WordPress Starter
A WordPress Vue.js starter plugin with required toolbelts
π¦ What it ships with?
- 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
π Running
- Clone this repository in your plugins folder
- Activate the plugin
π¨βπ» Post Installation
- 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
π
π Preview
β Extra Goodies
- Vue List Table Component - Helps you to build WordPress list tables easily.
About
Made by Tareq Hasan from weDevs.
Found anything that can be improved? You are welcome to contribute.