Zephyr Cloud is a platform to accelerate your development workflow by providing a simple way to deploy and manage your applications, cloud agnostic, framework agnostic and bundler agnostic.
To make it short, we can deploy front-end applications in a few seconds.
Zephyr Cloud platform includes many other features and one of the most interesting is definitely the *management and simplification of deployment of MicroFrontend based architectures.
First we create a new Angular project using Vite .
Work with any framework
We have tried the whole procedure using both, Angular and React, and they work perfectly.
Anyway you could use any other front-end framework supported by ViteJS (Svelte, Vue, ..) and it should work fine.
Select following choices during the installation process:
1
Project Name: for example demo-zephyr
2
Framework: Angular
3
Variant: Analog
4
Template: Minimal
5
Analog SFCs: No (this is a new way to write Angular components currently only supported by Analog)
6
Tailwind: No
Vite is required
Zephyr currently only supports the Angular / Analog variant, as the (default) "Angular -> Angular" variant still does not fully support all ViteJS features. The support will probably be added very soon!
No audio
Other Front-End Frameworks / Libraries
We have also tried React -> TypeScript and perfectly works.
So we invite you to try it with Vue, Svelte and so on ...
Since we will be doing several deployments, it may be convenient to display the project version in the HTML template so that it is immediately clear which version is currently online.
So we update the HTML template of the root component in order to display the version number starting from V.0.0.1.
Angular -> Analog
Open src/app/pages/index.page.ts and replace all the content with the following one.
We simply print the V.0.0.1 version:
src/app/pages/index.page.ts
The result:
React version
You can replicate the same steps in React by editing the src/App.tsx file (or jsx if you're using JavaScript):