Added astro 1

This commit is contained in:
Rafael González
2022-08-12 14:54:04 -05:00
parent 25d0980f3a
commit e3a23f9eee
7 changed files with 1563 additions and 1857 deletions
+9 -18
View File
@@ -1,19 +1,10 @@
// Full Astro Configuration API Documentation:
// https://docs.astro.build/reference/configuration-reference
import tailwind from "@astrojs/tailwind";
import svelte from "@astrojs/svelte";
import { defineConfig } from "astro/config";
import sitemap from "@astrojs/sitemap";
// @type-check enabled!
// VSCode and other TypeScript-enabled text editors will provide auto-completion,
// helpful tooltips, and warnings if your exported object is invalid.
// You can disable this by removing "@ts-check" and `@type` comments below.
// @ts-check
export default /** @type {import('astro').AstroUserConfig} */ ({
// Comment out "renderers: []" to enable Astro's default component support.
renderers: [
'@astrojs/renderer-svelte'
],
buildOptions:{
site: "https://rafa.page",
sitemap: true
}
});
// https://astro.build/config
export default defineConfig({
site: "https://rafa.page",
integrations: [tailwind(), svelte(), sitemap()]
});