This project should be used as an example of how to create a Hypernova Vue Micro Frontend (MFE) Lambda, as a template. This project is not production ready, the following should be completed before thinking of deploying the lambda to production.
- Complete e2e tests for both the component and lambda handler
- Complete unit tests for both the component and lambda handler
- Configure the public path for js, css and image assets. The configured public path should also be referenced in the handler when adding the assets to the Hypernova response.
The project requires at least node version 12.
yarn install
The component can be viewed in a browser in non SSR mode by running the following command.
yarn serve
You can view the component in a browser as a fully server side rendered MFE component by running the following command.
yarn ssr
yarn build
Unit tests have not been provided in this project yet but should be provided in a test/unit directory and implemented using Cypress.
yarn test:unit
E2E tests have not been provided in this project yet but should be provided in a test/e2e directory and implemented using Cypress.
yarn test:e2e
yarn lint