Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
With @atomico/vite, you will be able to use server-side functions in an environment-agnostic way, suitable for certain serverless and edge environments.
Thanks to the use of @atomico/vite, you will be able to create applications without worrying about servers. The goal is simple: transform the JS/TS resources in the src/api
folder into serverless or edge functions. The frontend can then import these functions, and internally, the function will perform the fetch to the serverless or edge service.
Atomico Vite is a stack of plugins created for the development of libraries and applications using Atomico + Vite.
With Atomico Vite, you will be able to:
With @atomico/vite, you will be able to analyze your CSS tag template to be optimized or to support utilities from the PostCSS ecosystem like Tailwind.
With @atomico/vite you can automate the declaration of customElements.define, @atomico/vite will transform the export of your customElement into a record for customElements.define.
the above script will send all files found in the src
folder to vite, example output:
This script can be combined with to improve the generation of your package.json
By default, Storybook does not support Atomico's JSX/TSX. With @atomico/vite, you will be able to use Atomico's syntax in your stories for Storybook.
With @atomico/vite, you will be able to use the `atomico/test-dom` module without any issues.