1
0
Fork 0
mirror of https://github.com/kou029w/_.git synced 2025-01-30 22:08:02 +00:00

create astro-ssg

This commit is contained in:
Nebel 2021-10-14 11:21:52 +09:00
parent fbff9b126a
commit 938427a63d
6 changed files with 5752 additions and 0 deletions

2
astro-ssg/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
/node_modules/
/dist/

View file

@ -0,0 +1,6 @@
/** @type {import("astro").AstroUserConfig} */
const config = {
renderers: ["@astrojs/renderer-preact"],
};
export default config;

13
astro-ssg/package.json Normal file
View file

@ -0,0 +1,13 @@
{
"devDependencies": {
"@astrojs/renderer-preact": "^0.2.2",
"@exampledev/new.css": "^1.1.3",
"astro": "^0.20.11",
"preact": "^10.5.15"
},
"scripts": {
"dev": "astro dev",
"build": "astro build",
"preview": "astro preview"
}
}

View file

@ -0,0 +1 @@
export default () => <>!</>;

View file

@ -0,0 +1,12 @@
---
import "@exampledev/new.css"
import App from "../components/App.jsx"
---
<html lang="ja">
<head>
<meta charset="UTF-8" />
<title>ようこそ</title>
<meta name="viewport" content="width=device-width" />
</head>
<body><App /></body>
</html>

5718
astro-ssg/yarn.lock Normal file

File diff suppressed because it is too large Load diff