Skip to content

Commit

Permalink
Adds solid; Moves imported assets; Ditches react to history
Browse files Browse the repository at this point in the history
  • Loading branch information
DBozhinovski committed Nov 21, 2022
1 parent c10b18e commit 3076251
Show file tree
Hide file tree
Showing 8 changed files with 107 additions and 142 deletions.
11 changes: 6 additions & 5 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@ import { defineConfig } from 'astro/config';
import mdx from '@astrojs/mdx';
import sitemap from '@astrojs/sitemap';

// https://astro.build/config
import tailwind from "@astrojs/tailwind";
import tailwind from "@astrojs/tailwind"; // https://astro.build/config

// https://astro.build/config
import react from "@astrojs/react";
import solidJs from "@astrojs/solid-js";

// https://astro.build/config
export default defineConfig({
site: 'https://example.com',
integrations: [mdx(), sitemap(), tailwind(), react()]
integrations: [mdx(), sitemap(), tailwind(), solidJs()],
server: {
host: '0.0.0.0'
}
});
14 changes: 6 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,19 @@
},
"dependencies": {
"@astrojs/mdx": "^0.11.6",
"@astrojs/react": "^1.2.2",
"@astrojs/rss": "^1.0.3",
"@astrojs/sitemap": "^1.0.0",
"@astrojs/solid-js": "^1.2.3",
"@astrojs/tailwind": "^2.1.2",
"@babel/core": ">=7.0.0 <8.0.0",
"@fontsource/crete-round": "^4.5.9",
"@fontsource/monoton": "^4.5.10",
"@fontsource/roboto": "^4.5.8",
"@types/react": "^18.0.21",
"@types/react-dom": "^18.0.6",
"astro": "^1.6.7",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-tsparticles": "^2.5.3",
"rollup": ">=2",
"solid-js": "^1.4.3",
"solid-particles": "^2.5.3",
"tailwindcss": "^3.0.24",
"tsparticles": "^2.5.3",
"tsparticles-engine": "^2.5.2"
"tsparticles": "^2.5.3"
}
}
186 changes: 86 additions & 100 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes
Loading

0 comments on commit 3076251

Please sign in to comment.