If you don't have nvm
to manage your node version yet, head to the official nvm guide to install it.
Run below commands:
And select from these options:
In your terminal, run:
In the terminal select from below answers:
Your Nx application's initial setup is complete! If you run:
You can see your application in the browser.
To understand why these configuration are necessary - Read the complete checklist to deploy Micro-Frontend with Zephyr.
Open the new directory in your selected editor and add package.json
as a structure below:
In host's package.json
, add below field (minimal example):
In remote1's package.json
, add below field:
In remote2's package.json
, add below field:
The first option in the dropdown menu under Version is the latest deployment of your app. In the dropdown menu you will see more previous version of your app.
But if you want to rollback to the previous version of your deployed application, you can click on one of the options and that version will show up in the browser, once you confirm that you want to push it to production you can click on Publish updates at the bottom of the side panel.
You can check the application you just deployed in our chrome extension.
Head to Chrome Web Store to install our chrome extension - Zephyr Mission Control. Click on Add to Chrome and confirm with Add extension. After you finish remember to pin the extension by clicking on on extension management tab to provide you a quicker access to Zephyr's side panel.
Once you click on the Chrome Extension, a login page will pop up and prompt you to log in (if you are using Microsoft Edge you will need to click on Open Side Panel).
While we are loggin you in, we are storing your authorization information locally under ~/.zephyr
in your root directly. Whenever you want to clean up your local profile information (they are JWT claims for each of the project you deployed through Zephyr), you can enter your root directory in terminal and run:
Now you have created an account and the side panel is empty - hold up! We will get into how to use our dashboard in a bit. Let's deploy an app through Zephyr so you can see a live example of how to use our side panel.
Our chrome extension is only supported on Chromium based browsers. See a list of supported browser.
If you want to see all your projects and their versions, sign in on dashboard and you will see all your projects and their dependencies.
A more detailed explaination on how to use our dashboard is coming soon.