Generating an entity with VueJS client-side

Now, let's learn how to create an entity using the JHipster entity generator with a Vue.js client-side. We will create a simple employee entity with the name, age, and date of birth fields, just like we did for the React app earlier:

  1. Open a Terminal, navigate to the folder of the Vue.js app, and run jhipster entity employee.
  2. Create the fields one by one, select Yes for the question Do you want to add a field to your entity?, and fill in the name of the field with name for the next question, What is the name of your field?
  1. Select String as the field type for the next question, What is the type of your field?
  2. For the question Which validation rules do you want to add?, choose Required for the

Get Full Stack Development with JHipster - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.