Getting Started
Add the desired plugins (or all plugins) to your defineIntegration
call:
API
Each functionality is provided as a separate AIK plugin that you can use.
All of them accept normal values and factory wrappers as values to be included in the virtual modules.
inlineModule
inlineModule
allows you to define a module inline, returning the name of the defined module.
It receives the definition of the virtual module.
defineModule
defineModule
allows you to define a module inline with a given import name.
It receives the definition of the virtual module.
defineMiddleware
defineMiddleware
allows you to define an Astro middleware inline.