콘텐츠로 이동

@studiocms/devapps

이 콘텐츠는 아직 번역되지 않았습니다.

A Collection of useful tools available during dev mode in Astro.

  1. Install the package and add to your astro config using the following command:

    터미널 창
    npx astro add @studiocms/devapps
  2. Update your config file as shown under Example Config below.

All tools will only be available during astro dev and will not be available during production deployments!

astro.config.mjs
import { defineConfig } from 'astro/config';
import studiocms from 'studiocms';
import devApps from '@studiocms/devapps';
export default defineConfig({
site: "https://example.com",
integrations: [
studiocms(), // REQUIRED
devApps(/* See Config Options Below */),
],
});

Full list of options available for the devApps integration, with default values shown. All options are optional.

import devApps from '@studiocms/devapps';
devApps({
// ---cut---
endpoint: '_studiocms-devapps',
verbose: false,
appsConfig: {
wpImporter: true,
},
// ---cut-after---
})

Development tool to import WordPress posts and pages into the StudioCMS database.

  • StudioCMS Integration
  • WordPress Install
  • @studiocms/blog (Optional: for importing Posts under a blog)
  • Toolbar app

Astro DevToolbarApp