Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 4 additions & 35 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,7 @@
# sv
# andrewtlu.dev

Everything you need to build a Svelte project, powered by [`sv`](https://github.com/sveltejs/cli).
This is my personal portfolio! You should be set up and ready to go just by running `npm install` to install dependencies.

## Creating a project
The project uses sveltekit's static adapter and should build everything properly.

If you're seeing this, you've probably already done this step. Congrats!

```bash
# create a new project in the current directory
npx sv create

# create a new project in my-app
npx sv create 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://svelte.dev/docs/kit/adapters) for your target environment.
If working in VSCode you may find it helpful to open your settings, go to `files.associations`, and add an association from `*.svx` to `markdown` for syntax highlighting.
Loading
Loading