Skip to content

Commit ad8ce02

Browse files
committed
wip
1 parent 47c753a commit ad8ce02

34 files changed

+1732
-453
lines changed

.devcontainer/devcontainer.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,18 @@
99
"extensions": [
1010
"astro-build.astro-vscode",
1111
"esbenp.prettier-vscode",
12-
"unifiedjs.vscode-mdx"
12+
"unifiedjs.vscode-mdx",
13+
"bradlc.vscode-tailwindcss"
1314
]
1415
}
15-
}
16+
},
17+
"portsAttributes": {
18+
"431": {
19+
"label": "4321"
20+
}
21+
},
22+
"forwardPorts": [3000],
23+
"runArgs": ["-p", "3000:3000"]
1624

1725
// Features to add to the dev container. More info: https://containers.dev/features.
1826
// "features": {},

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,6 @@ pnpm-debug.log*
2323
# jetbrains setting folder
2424
.idea/
2525

26-
node_modules
26+
node_modules
27+
28+
public/admin

astro.config.mjs

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
// @ts-check
22
import { defineConfig } from "astro/config";
33
import mdx from "@astrojs/mdx";
4+
import icon from "astro-icon";
5+
import tailwind from "@astrojs/tailwind";
46

57
// https://astro.build/config
68
export default defineConfig({
7-
integrations: [mdx()],
9+
integrations: [mdx(), icon(), tailwind()],
810
i18n: {
911
defaultLocale: "es",
1012
locales: ["es", "en"],
@@ -13,8 +15,11 @@ export default defineConfig({
1315
},
1416
routing: {
1517
fallbackType: "rewrite",
16-
prefixDefaultLocale: true,
17-
redirectToDefaultLocale: true,
18+
prefixDefaultLocale: false,
1819
},
1920
},
21+
server: {
22+
host: "0.0.0.0",
23+
port: 3000,
24+
},
2025
});

0 commit comments

Comments
 (0)