Directorystructuur van extensiepakket AEM
├── src
│ ├── **/*{js,ts}
│ ├── index.ts
├── dist
│ ├── guides-extension.js
│ ├── guides-extension.umd.cjs
│ ├── build.css
├── node_modules
├── package.json
├── package-lock.json
└── .gitignore
└── buildCSS.mjs // for creating tailwind classes
└── vite.config.js // config for specifying TS and javascript build options
└── taliwind.config.js // config for tailwind we can add custom config for a design system here
├── jsons // jsons for the aem app
│ ├── context_menus // jsons for the context menus
│ ├── review_app // jsons for the review app
│ ├── xmleditor // jsons for xmleditor
/src
├── src
│ ├── **/*{js,ts}
│ ├── index.ts
De bronmap bevat de typescript- of javascript-bestanden voor uw extensie. Het bestand index.ts is het ingangspunt voor uw extensie. U kunt al uw componenten hier importeren en deze als één enkel object exporteren. Dit object wordt door de extensie gebruikt om de componenten te renderen.
/dist
Dit is de definitieve bouwstijlfolder. Dit bevat de uiteindelijke JS en CSS, die naar de AEM moeten worden gekopieerd
├── dist
│ ├── gudies-extension.js // you can either choose es module (this one) or .cjs(other one) file
│ ├── gudies-extension.umd.cjs
│ ├── build.css // this is your tailwind css output
/jsons
Deze map bevat de JSON's voor de verschillende weergaven. U kunt deze JSONs gebruiken om de doelstellingen te identificeren en de mening aan te passen.
├── jsons // jsons for the aem app
│ ├── context_menus // jsons for the context menus
│ ├── review_app // jsons for the review app
│ ├── xmleditor // jsons for xmleditor
recommendation-more-help
11125c99-e1a1-4369-b5d7-fb3098b9b178