Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broarr/decap #90

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ pnpm-debug.log*
# environment variables
.env
.env.production
.env.local

# macOS-specific files
.DS_Store
Expand Down
17 changes: 17 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"version": "0.2.0",
"configurations": [
{
"command": "npm run dev",
"name": "Development server",
"request": "launch",
"type": "node-terminal"
},
{
"command": "npm run build",
"name": "Build",
"request": "launch",
"type": "node-terminal"
}
]
}
26 changes: 19 additions & 7 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,12 +1,24 @@
import { defineConfig } from "astro/config";
import mdx from "@astrojs/mdx";
import sitemap from "@astrojs/sitemap";
import tailwind from "@astrojs/tailwind";
import { defineConfig } from "astro/config"
import mdx from "@astrojs/mdx"
import sitemap from "@astrojs/sitemap"
import tailwind from "@astrojs/tailwind"
import react from "@astrojs/react"
import node from "@astrojs/node"

import react from "@astrojs/react";
import decapCmsOauth from "astro-decap-cms-oauth"

// https://astro.build/config
export default defineConfig({
site: "https://example.com",
integrations: [mdx(), sitemap(), tailwind(), react()]
});
output: "hybrid",
integrations: [
decapCmsOauth({ decapCMSVersion: "3.3.3" }),
mdx(),
sitemap(),
tailwind(),
react(),
],
adapter: node({
mode: "standalone",
}),
})
Loading