This commit is contained in:
Kebo Kitanari 2024-10-06 15:36:35 -05:00
parent 01326053b8
commit c7df705675
5 changed files with 1193 additions and 3 deletions

View file

@ -1,5 +1,13 @@
// @ts-check
import { defineConfig } from 'astro/config';
import react from '@astrojs/react';
import tailwind from '@astrojs/tailwind';
import mdx from '@astrojs/mdx';
// https://astro.build/config
export default defineConfig({});
export default defineConfig({
integrations: [react(), tailwind(), mdx()]
});

View file

@ -10,8 +10,16 @@
"astro": "astro"
},
"dependencies": {
"astro": "^4.15.11",
"@astrojs/check": "^0.9.4",
"@astrojs/mdx": "^3.1.7",
"@astrojs/react": "^3.6.2",
"@astrojs/tailwind": "^5.1.1",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.0",
"astro": "^4.15.11",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tailwindcss": "^3.4.13",
"typescript": "^5.6.2"
},
"packageManager": "pnpm@9.10.0+sha512.73a29afa36a0d092ece5271de5177ecbf8318d454ecd701343131b8ebc0c1a91c487da46ab77c8e596d6acf1461e3594ced4becedf8921b074fbd8653ed7051c"

1162
pnpm-lock.yaml generated

File diff suppressed because it is too large Load diff

8
tailwind.config.mjs Normal file
View file

@ -0,0 +1,8 @@
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
extend: {},
},
plugins: [],
}

View file

@ -1,3 +1,7 @@
{
"extends": "astro/tsconfigs/strict"
"extends": "astro/tsconfigs/strict",
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "react"
}
}