Quick start
Install the package:
npm i -S vue-admin-front cross-env rimraf webpack-nano
Add npm scripts to your
package.json
:{ "scripts": { "admin:dev": "node node_modules/vue-admin-front/index.js", "admin:build": "rimraf public/admin-dist && cross-env NODE_ENV=production wp --config node_modules/vue-admin-front/webpack.config.js" } }
*Replace
admin:dev
'srimraf public/admin-dist
part if you use different build destination.Run
npm run admin:dev
to start dev server listening on port 8080 (by default). Runnpm run admin:build
to create a static bundle inpublic/admin-dist
folder (by default).Install and configure one of the supported server API solutions or make your own one.