Skip to content

Commit 82652d7

Browse files
committed
Base pages setup
1 parent 7ed5fe7 commit 82652d7

24 files changed

Lines changed: 898 additions & 49 deletions

astro.config.mjs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
import { defineConfig } from 'astro/config';
2-
32
import tailwind from "@astrojs/tailwind";
3+
import mdx from "@astrojs/mdx";
4+
5+
import expressiveCode from "astro-expressive-code";
46

57
// https://astro.build/config
68
export default defineConfig({
7-
integrations: [tailwind()]
9+
site: "https://www.yanthomas.dev",
10+
integrations: [tailwind(), expressiveCode({
11+
theme: 'dracula',
12+
}), mdx()],
13+
experimental: {
14+
assets: true
15+
}
816
});

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,11 @@
1010
"astro": "astro"
1111
},
1212
"dependencies": {
13+
"@astrojs/mdx": "^0.19.7",
1314
"@astrojs/tailwind": "^4.0.0",
15+
"@tailwindcss/typography": "^0.5.9",
1416
"astro": "^2.7.2",
17+
"astro-expressive-code": "^0.19.0",
1518
"tailwindcss": "^3.0.24"
1619
}
1720
}

0 commit comments

Comments
 (0)