mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-02-27 09:48:56 +00:00
feat(create-turbo): apply official-starter transform
This commit is contained in:
12
turbo-svelte/apps/web/src/app.d.ts
vendored
Normal file
12
turbo-svelte/apps/web/src/app.d.ts
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
// See https://kit.svelte.dev/docs/types#app
|
||||
// for information about these interfaces
|
||||
declare global {
|
||||
namespace App {
|
||||
// interface Error {}
|
||||
// interface Locals {}
|
||||
// interface PageData {}
|
||||
// interface Platform {}
|
||||
}
|
||||
}
|
||||
|
||||
export {};
|
||||
12
turbo-svelte/apps/web/src/app.html
Normal file
12
turbo-svelte/apps/web/src/app.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
%sveltekit.head%
|
||||
</head>
|
||||
<body data-sveltekit-preload-data="hover">
|
||||
<div style="display: contents">%sveltekit.body%</div>
|
||||
</body>
|
||||
</html>
|
||||
7
turbo-svelte/apps/web/src/index.test.ts
Normal file
7
turbo-svelte/apps/web/src/index.test.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { describe, it, expect } from 'vitest';
|
||||
|
||||
describe('sum test', () => {
|
||||
it('adds 1 + 2 to equal 3', () => {
|
||||
expect(1 + 2).toBe(3);
|
||||
});
|
||||
});
|
||||
1
turbo-svelte/apps/web/src/lib/index.ts
Normal file
1
turbo-svelte/apps/web/src/lib/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
// place files you want to import through the `$lib` alias in this folder.
|
||||
7
turbo-svelte/apps/web/src/routes/+page.svelte
Normal file
7
turbo-svelte/apps/web/src/routes/+page.svelte
Normal file
@@ -0,0 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { MyCounterButton } from '@repo/ui';
|
||||
</script>
|
||||
|
||||
<h1>Web</h1>
|
||||
<MyCounterButton />
|
||||
<p>Visit <a href="https://kit.svelte.dev">kit.svelte.dev</a> to read the documentation</p>
|
||||
Reference in New Issue
Block a user