Skip to content

Installation ​

Installation is straightforward and easy. Please ensure you read the below carefully as some manual steps are needed to finish the installation.

Vite Plugin ​

Installing the Vite plugin is as simple as using your favourite package manager. Navigate to your ui.frontend folder and run any of the following:

sh
npm install -D @aem-vite/vite-aem-plugin
sh
pnpm add -D @aem-vite/vite-aem-plugin
sh
yarn add -D @aem-vite/vite-aem-plugin
sh
bun add -D @aem-vite/vite-aem-plugin

Maven Dependency ​

Add the aem-vite.all package as a Maven dependency in your pom.xml file.

xml
<dependency>
  <groupId>dev.aemvite</groupId>
  <artifactId>aem-vite.all</artifactId>
  <version>3.0.2</version>
  <type>zip</type>
</dependency>

Next, add the following to your FileVault configuration; remembering to change the <target> path to suit your project structure.

xml
<embedded>
  <groupId>dev.aemvite</groupId>
  <artifactId>aem-vite.all</artifactId>
  <type>zip</type>
  <target>/apps/{project}-vendor-packages/application/install</target>
</embedded>

TIP

These entries will typically be added to your all Maven module; or ui.apps if you don't have an all module. Remember to replace {project} with your project name.

Dependencies ​

AEM Vite doesn't rely on any 3rd-party dependencies and only makes use of APIs available in the AEM Uber JAR and Cloud SDK.

Next Steps ​

Apache 2.0 Licensed. Vite wording and logos are property of Evan You. Adobe and AEM wording and logos are property of Adobe Inc.