-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
af51a4a
commit 8dc4cbc
Showing
10 changed files
with
57 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1 @@ | ||
# create-svelte | ||
|
||
Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/main/packages/create-svelte). | ||
|
||
## Creating a project | ||
|
||
If you're seeing this, you've probably already done this step. Congrats! | ||
|
||
```bash | ||
# create a new project in the current directory | ||
npm create svelte@latest | ||
|
||
# create a new project in my-app | ||
npm create svelte@latest my-app | ||
``` | ||
|
||
## Developing | ||
|
||
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server: | ||
|
||
```bash | ||
npm run dev | ||
|
||
# or start the server and open the app in a new browser tab | ||
npm run dev -- --open | ||
``` | ||
|
||
## Building | ||
|
||
To create a production version of your app: | ||
|
||
```bash | ||
npm run build | ||
``` | ||
|
||
You can preview the production build with `npm run preview`. | ||
|
||
> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment. | ||
🚧 under construction 👷🏻♂️ |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<script> | ||
<script lang="ts"> | ||
import '../app.css'; | ||
</script> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,32 @@ | ||
<h1>Welcome to SvelteKit</h1> | ||
<p>Visit <a href="https://kit.svelte.dev">kit.svelte.dev</a> to read the documentation</p> | ||
<main class="container px-8 sm:mx-auto"> | ||
<h1 class="mt-40 text-4xl sm:mt-60 sm:text-6xl md:text-8xl">Raymond Wang</h1> | ||
<h2 class="mt-4 text-2xl"> | ||
Software Engineer at | ||
<a | ||
class="hover:underline hover:underline-offset-4" | ||
href="https://www.atlassian.com/" | ||
target="_blank">Atlassian</a | ||
> | ||
</h2> | ||
<ul class="mt-4 flex flex-row gap-x-4"> | ||
<li> | ||
<a class="hover:underline hover:underline-offset-4" href="mailto:[email protected]" target="_blank" | ||
>Email</a | ||
> | ||
</li> | ||
<li> | ||
<a | ||
class="hover:underline hover:underline-offset-4" | ||
href="https://github.com/raymondwang" | ||
target="_blank">GitHub</a | ||
> | ||
</li> | ||
<li> | ||
<a | ||
class="hover:underline hover:underline-offset-4" | ||
href="https://www.linkedin.com/in/raymondruiwang" | ||
target="_blank">LinkedIn</a | ||
> | ||
</li> | ||
</ul> | ||
</main> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import adapter from '@sveltejs/adapter-static'; | ||
import type { Config } from '@sveltejs/kit'; | ||
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'; | ||
|
||
const config: Config = { | ||
kit: { adapter: adapter() }, | ||
// https://kit.svelte.dev/docs/integrations#preprocessors | ||
preprocess: vitePreprocess(), | ||
}; | ||
|
||
export default config; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import type { Config } from 'tailwindcss'; | ||
|
||
const config: Config = { | ||
content: ['./src/**/*.{html,js,svelte,ts}'], | ||
plugins: [], | ||
theme: { | ||
extend: {}, | ||
}, | ||
}; | ||
|
||
export default config; |