@drawnagency/core
v0.1.98
Published
Astro integration for the Drawn brand portal framework. Provides route injection, middleware, editor shell, and the `defineConfig` API.
Downloads
4,720
Readme
@drawnagency/core
Astro integration for the Drawn brand portal framework. Provides route injection, middleware, editor shell, and the defineConfig API.
Installation
npm install @drawnagency/coreQuick Start
// astro.config.mjs
import { portalIntegration } from "@drawnagency/core";
export default defineConfig({
integrations: [portalIntegration()],
});// portal.config.mjs
import { defineConfig } from "@drawnagency/core";
import { supabaseAuth } from "@drawnagency/auth-supabase";
export default defineConfig({
auth: supabaseAuth(),
site: { name: "My Brand Portal" },
});What's included
- Astro integration — Injects pages, API routes, and middleware
- Editor — WYSIWYG editing with zero-layout-shift mode toggle
- Password auth — Built-in password-only auth adapter
Part of the Drawn Portal Framework
Built by Drawn Agency. We build brand portals for companies that care about their brand.
