diff --git a/README.md b/README.md index 87357b8..f9f2abf 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ Inside of your Astro project, you'll see the following folders and files: └── tsconfig.json ``` -Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name. +Astro looks for `.astro`, `.md` and `.mdx` files in the `src/pages/` directory. Each page is exposed as a route based on its file name. There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components. diff --git a/tsconfig.json b/tsconfig.json index e8a9e55..7472ab1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,7 @@ { "extends": "astro/tsconfigs/base", "compilerOptions": { - "strictNullChecks": true + "strictNullChecks": true, + "allowJs": true } } \ No newline at end of file