Commit 0830c88
Changed files (2)
src
pages
src/pages/index.astro
@@ -1,5 +1,5 @@
---
-import "../styles/global.css";
+import "@/styles/global.css";
---
<html lang="en">
tsconfig.json
@@ -1,5 +1,11 @@
{
"extends": "astro/tsconfigs/strict",
"include": [".astro/types.d.ts", "**/*"],
- "exclude": ["dist"]
+ "exclude": ["dist"],
+ "compilerOptions": {
+ "baseUrl": ".",
+ "paths": {
+ "@/*": ["./src/*"],
+ },
+ },
}