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.
Please email back within 4 hours of receiving ([email protected]). Zip the app folder without the node_modules
folder.
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.
- Also display total subscriptions for that company.
- Build a component that takes the company
numberOfEmployees
property and allows a user to increase/decrease that amount. When user is confident in thenumberOfEmployees
change and submits change, the component should be able to notify the page its included in with the new value. The view company page should update with new property value. This needs to be a component because we are going to use it on multiple pages.