api platform vuejs code example
Example: api platform vue generator
$ vue init webpack-simple my-app
$ cd my-app
$ yarn add vue-router vuex vuex-map-fields babel-plugin-transform-builtin-extend babel-preset-es2015 babel-preset-stage-2 lodash
$ yarn add bootstrap font-awesome
$ npx @api-platform/client-generator https://demo.api-platform.com src/ --generator vue --resource book
# Replace the URL with the entrypoint of your Hydra-enabled API
# Omit the resource flag to generate files for all resource types exposed by the API