Installation
Prerequisites
Section titled “Prerequisites”- Node.js 22 or later (pin with Volta:
volta install node@22) - pnpm 9 or later
- An Astro 5 project
Install Individual Packages
Section titled “Install Individual Packages”Each package is independently installable. Add only what you need:
Theme Core — CSS tokens + light/dark theme
Section titled “Theme Core — CSS tokens + light/dark theme”pnpm add @easy-web/theme-coreImport the theme stylesheet in your Astro layout:
---import '@easy-web/theme-core/theme.css';---i18n Helpers
Section titled “i18n Helpers”pnpm add @easy-web/i18nContent Blocks — Astro UI Components
Section titled “Content Blocks — Astro UI Components”pnpm add @easy-web/content-blocksAuthentication — MSAL.js wrapper
Section titled “Authentication — MSAL.js wrapper”pnpm add @easy-web/authCMS Adapters — Decap CMS integration
Section titled “CMS Adapters — Decap CMS integration”pnpm add @easy-web/cms-adaptersInstall All Packages at Once
Section titled “Install All Packages at Once”pnpm add @easy-web/theme-core \ @easy-web/i18n \ @easy-web/content-blocks \ @easy-web/auth \ @easy-web/cms-adapters