Adding another fucking project structure lol. we got like 3 now
All checks were successful
Rebuild signaller for deprived.dev to rebuild site / test_service (push) Successful in 20s
All checks were successful
Rebuild signaller for deprived.dev to rebuild site / test_service (push) Successful in 20s
This commit is contained in:
parent
ab913372eb
commit
3c54f7cdd1
7 changed files with 54 additions and 24 deletions
|
@ -1,24 +1,36 @@
|
||||||
{
|
{
|
||||||
"extends": "./.svelte-kit/tsconfig.json",
|
"extends": "./.svelte-kit/tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"checkJs": true,
|
"checkJs": true,
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"moduleResolution": "bundler",
|
"moduleResolution": "bundler",
|
||||||
"allowImportingTsExtensions": true,
|
"allowImportingTsExtensions": true,
|
||||||
"paths": {
|
"paths": {
|
||||||
"@images/*": ["./src/images/*"],
|
"@images/*": [
|
||||||
"@src/*": ["./src/*"],
|
"./src/images/*"
|
||||||
"@static/*": ["./static/*"]
|
],
|
||||||
}
|
"@src/*": [
|
||||||
}
|
"./src/*"
|
||||||
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias and https://kit.svelte.dev/docs/configuration#files
|
],
|
||||||
//
|
"@pages/*": [
|
||||||
// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
|
"./src/pages/*"
|
||||||
// from the referenced tsconfig.json - TypeScript does not merge them in
|
],
|
||||||
|
"@shop/*": [
|
||||||
|
"./src/pages/shop/*"
|
||||||
|
],
|
||||||
|
"@static/*": [
|
||||||
|
"./static/*"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias and https://kit.svelte.dev/docs/configuration#files
|
||||||
|
//
|
||||||
|
// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
|
||||||
|
// from the referenced tsconfig.json - TypeScript does not merge them in
|
||||||
}
|
}
|
||||||
|
|
5
src/pages/shop/_trackers.svelte
Normal file
5
src/pages/shop/_trackers.svelte
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<script>
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<div>Baller</div>
|
|
@ -93,8 +93,8 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="py-2"></div>
|
<div class="py-2"></div>
|
||||||
<div class="flex justify-center gap-2">
|
<div class="flex justify-center gap-2">
|
||||||
<button class="btn btn-secondary">Buy</button>
|
<a href="/" class="btn btn-secondary">Buy</a>
|
||||||
<button class="btn btn-primary">Learn more</button>
|
<a href="/shop/trackers" class="btn btn-primary">Learn more</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
0
src/routes/shop/+page.svelte
Normal file
0
src/routes/shop/+page.svelte
Normal file
5
src/routes/shop/tracker/+page.svelte
Normal file
5
src/routes/shop/tracker/+page.svelte
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<script>
|
||||||
|
import Trackers from "@shop/_trackers.svelte";
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<Trackers/>
|
6
src/routes/shop/trackers/+page.svelte
Normal file
6
src/routes/shop/trackers/+page.svelte
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
<script>
|
||||||
|
import Trackers from "@shop/_trackers.svelte";
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<Trackers/>
|
||||||
|
|
|
@ -23,6 +23,8 @@ export default defineConfig({
|
||||||
"@images": path.resolve("./src/images"),
|
"@images": path.resolve("./src/images"),
|
||||||
"@src": path.resolve("./src"),
|
"@src": path.resolve("./src"),
|
||||||
"@static": path.resolve("./static"),
|
"@static": path.resolve("./static"),
|
||||||
|
"@pages": path.resolve("./src/pages"),
|
||||||
|
"@shop": path.resolve("./src/pages/shop"),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
server: {
|
server: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue