Refactored project ready for server.
Signed-off-by: Louis Hollingworth <louis@hollingworth.nl>
|
@ -6,4 +6,4 @@ import tailwind from "@astrojs/tailwind";
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
integrations: [vue(), tailwind()]
|
integrations: [vue(), tailwind()]
|
||||||
});
|
});
|
|
@ -11,14 +11,15 @@
|
||||||
"astro": "astro"
|
"astro": "astro"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/tailwind": "^5.0.0",
|
"@astrojs/deno": "^5.0.1",
|
||||||
"@astrojs/vue": "3.0.0",
|
"@astrojs/tailwind": "^5.1.0",
|
||||||
"astro": "^3.1.1",
|
"@astrojs/vue": "4.0.8",
|
||||||
"tailwindcss": "^3.0.24",
|
"astro": "^4.3.7",
|
||||||
"vue": "^3.3.4"
|
"tailwindcss": "^3.4.1",
|
||||||
|
"vue": "^3.4.19"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"sass": "1.68.0",
|
"sass": "1.70.0",
|
||||||
"typescript": "^5.2.2"
|
"typescript": "^5.3.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
Before Width: | Height: | Size: 74 KiB After Width: | Height: | Size: 74 KiB |
Before Width: | Height: | Size: 873 B After Width: | Height: | Size: 873 B |
Before Width: | Height: | Size: 312 B After Width: | Height: | Size: 312 B |
Before Width: | Height: | Size: 332 B After Width: | Height: | Size: 332 B |
Before Width: | Height: | Size: 171 KiB After Width: | Height: | Size: 171 KiB |
1
fe/src/env.d.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
/// <reference types="astro/client" />
|
12
justfile
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
build-fe:
|
||||||
|
cd ./fe && pnpm build && cd ..
|
||||||
|
|
||||||
|
build-server:
|
||||||
|
go build ./server
|
||||||
|
|
||||||
|
build-all:
|
||||||
|
cd ./fe && pnpm build && cp -r ./dist .. && cd ..
|
||||||
|
go build ./server
|
||||||
|
|
||||||
|
git:
|
||||||
|
git add -A && git commit -sS && git push
|
3
server/go.mod
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
module git.ludoviko.ch/lucxjo/friends-best
|
||||||
|
|
||||||
|
go 1.21.6
|
3
server/main.go
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
package main
|
||||||
|
|
||||||
|
func main() {}
|