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
npm install -g loopback-vuejs-generator
generate-loopback-vuejs-client http://localhost:3000/explorer/swagger.json output/ --resource <resource-name>
- 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)
Adapted from an idea of Kévin Dunglas and Les-Tilleuls.coop.