0.1.0 • Published 6 years ago

loopback-vuejs-generator v0.1.0

Weekly downloads
4
License
Apache-2.0
Repository
github
Last release
6 years ago

loopback-vuejs-generator

Apache 2.0 Licence

Loppback Vuejs Generator is a generator to scaffold app with Create-Retrieve-Update-Delete features for any loopback API (swagger/openAPI compatible) for Vue.js

Installation

npm install -g loopback-vuejs-generator

Usage

generate-loopback-vuejs-client http://localhost:3000/explorer/swagger.json output/ --resource <resource-name>

Features

  • Generate Vue.js components and files including:
    • A list view
    • A creation form
    • An edition form
    • A deletion button
  • Use the Swagger API documentation to generate the code
  • Generate the suitable HTML5 input type (number, date...) according to the type of the API property
  • Client-side validation (required attributes)
  • The generated HTML is compatible with Bootstrap and include mandatory classes
  • The generated HTML code is accessible to people with disabilities (ARIA support)

Credits

Adapted from an idea of Kévin Dunglas and Les-Tilleuls.coop.