mirror of
https://github.com/xHyroM/links.git
synced 2024-11-22 07:31:06 +01:00
build: install dependencies
This commit is contained in:
parent
6d1d3d0b5f
commit
1f4e924ae9
4 changed files with 1991 additions and 4 deletions
|
@ -1,4 +1,14 @@
|
||||||
import { defineConfig } from 'astro/config';
|
import { defineConfig } from "astro/config";
|
||||||
|
|
||||||
// https://astro.build/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
1966
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -11,6 +11,11 @@
|
||||||
"astro": "astro"
|
"astro": "astro"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"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
8
tailwind.config.cjs
Normal 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: [],
|
||||||
|
}
|
Loading…
Reference in a new issue