npm install
npm run serve
You are free to use any Vue plugin or npm module to complete the homework. Style the app using the Bulma framework. It has already been imported for you.
Create your own Github repo and push the changes there. Send a link to the repo to [email protected] within 4 hours.
Using the CompanyService.js
(fake company data):
- Display a list of companies
- Include
id
andname
values in list - Also include an edit button.
- Include
- Build an edit company page
- Display a form to edit company details
- Upon submitting the form, alert with new details.
- Build a view company page
- Display all company details.
- Display total subscriptions for that company -
numberOfEmployees * subscriptionsPerEmployee
- Build a component that takes the
numberOfEmployees
property and allows a user to increase/decrease that amount. When user is confident in thenumberOfEmployees
value and submits change, the component should be able to notify the parent page with the new value. The parent page (View Company Page) should reflect the change. This needs to be a component because we are going to use it on multiple pages.