@dmno/astro-integration
TypeScript icon, indicating that this package has built-in type declarations

0.0.6 • Public • Published

Check out the docs for more information on how to use DMNO + Astro.

*** THIS IS PREVIEW SOFTWARE AND SUBJECT TO RAPID CHANGE ***

If you have any questions, please reach out to us on Discord.


@dmno/vite-integration

Provides tooling to integrate dmno into your astro dev/build workflow

How to use

Import and initialize our astro integration and add to the integrations section in your astro.config.mjs file

import { defineConfig } from 'astro/config';
import dmnoAstroIntegration from '@dmno/astro-integration';

// https://astro.build/config
export default defineConfig({
  integrations: [
    dmnoAstroIntegration(),
  ]
});

add type references to src/env.d.ts

/// <reference types="../.dmno/.typegen/global-public.d.ts" />

Package Sidebar

Install

npm i @dmno/astro-integration

Weekly Downloads

113

Version

0.0.6

License

MIT

Unpacked Size

34.1 kB

Total Files

18

Last publish

Collaborators

  • philmillman
  • theo