build: install dependencies

This commit is contained in:
OLIMINATOR 2023-01-06 20:14:29 +01:00
parent 6d1d3d0b5f
commit 1f4e924ae9
4 changed files with 1991 additions and 4 deletions

View file

@ -1,4 +1,14 @@
import { defineConfig } from 'astro/config';
import { defineConfig } from "astro/config";
// https://astro.build/config
export default defineConfig({});
import tailwind from "@astrojs/tailwind";
import sitemap from "@astrojs/sitemap";
import image from "@astrojs/image";
import vercel from "@astrojs/vercel/static";
// https://astro.build/config
export default defineConfig({
integrations: [tailwind(), sitemap(), image()],
output: "static",
adapter: vercel(),
});

1966
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -11,6 +11,11 @@
"astro": "astro"
},
"dependencies": {
"astro": "^1.9.0"
"@astrojs/image": "^0.12.1",
"@astrojs/sitemap": "^1.0.0",
"@astrojs/tailwind": "^2.1.3",
"@astrojs/vercel": "^2.4.0",
"astro": "^1.9.0",
"tailwindcss": "^3.2.4"
}
}

8
tailwind.config.cjs Normal file
View file

@ -0,0 +1,8 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
extend: {},
},
plugins: [],
}