loopback-vuejs-generator

0.1.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i loopback-vuejs-generator

Weekly Downloads

1

Version

0.1.0

License

Apache-2.0

Last publish

Collaborators

  • skrafft