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",
|
||||
"compilerOptions": {
|
||||
"allowJs": true,
|
||||
"checkJs": true,
|
||||
"esModuleInterop": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"resolveJsonModule": true,
|
||||
"skipLibCheck": true,
|
||||
"sourceMap": true,
|
||||
"strict": true,
|
||||
"moduleResolution": "bundler",
|
||||
"allowImportingTsExtensions": true,
|
||||
"paths": {
|
||||
"@images/*": ["./src/images/*"],
|
||||
"@src/*": ["./src/*"],
|
||||
"@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
|
||||
"extends": "./.svelte-kit/tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"allowJs": true,
|
||||
"checkJs": true,
|
||||
"esModuleInterop": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"resolveJsonModule": true,
|
||||
"skipLibCheck": true,
|
||||
"sourceMap": true,
|
||||
"strict": true,
|
||||
"moduleResolution": "bundler",
|
||||
"allowImportingTsExtensions": true,
|
||||
"paths": {
|
||||
"@images/*": [
|
||||
"./src/images/*"
|
||||
],
|
||||
"@src/*": [
|
||||
"./src/*"
|
||||
],
|
||||
"@pages/*": [
|
||||
"./src/pages/*"
|
||||
],
|
||||
"@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 class="py-2"></div>
|
||||
<div class="flex justify-center gap-2">
|
||||
<button class="btn btn-secondary">Buy</button>
|
||||
<button class="btn btn-primary">Learn more</button>
|
||||
<a href="/" class="btn btn-secondary">Buy</a>
|
||||
<a href="/shop/trackers" class="btn btn-primary">Learn more</a>
|
||||
</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"),
|
||||
"@src": path.resolve("./src"),
|
||||
"@static": path.resolve("./static"),
|
||||
"@pages": path.resolve("./src/pages"),
|
||||
"@shop": path.resolve("./src/pages/shop"),
|
||||
},
|
||||
},
|
||||
server: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue