Skip to content

Commit

Permalink
chore: setup svelte
Browse files Browse the repository at this point in the history
  • Loading branch information
iankressin committed Aug 20, 2024
1 parent 0dd4500 commit bb7094d
Show file tree
Hide file tree
Showing 6 changed files with 2,994 additions and 2,283 deletions.
6 changes: 4 additions & 2 deletions research/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ import { defineConfig } from 'astro/config';
import tailwind from "@astrojs/tailwind";
import node from "@astrojs/node";

import svelte from "@astrojs/svelte";

// https://astro.build/config
export default defineConfig({
integrations: [tailwind()],
integrations: [tailwind(), svelte()],
output: "server",
darkMode: 'selector',
adapter: node({
mode: "standalone"
}),
})
});
4 changes: 3 additions & 1 deletion research/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@
"dependencies": {
"@astrojs/check": "^0.9.2",
"@astrojs/node": "^8.3.3",
"@astrojs/svelte": "^5.7.0",
"@astrojs/tailwind": "^5.1.0",
"astro": "^4.14.2",
"svelte": "^4.2.18",
"tailwindcss": "^3.4.10",
"typescript": "^5.5.4"
},
"devDependencies": {
"sass": "^1.77.8"
}
}
}
Loading

0 comments on commit bb7094d

Please sign in to comment.