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
37 changes: 9 additions & 28 deletions pages/README.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,19 @@
# create-svelte
# Online Demo for @wjfe/async-workers

Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/main/packages/create-svelte).
This is a Sveltekit project that is deployed to GH pages.

## 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:
To use it to test-drive changes in the package itself, link to the built project:

```bash
npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open
# In the workspace folder (not this, the pages/ folder):
npm run build && npm link
```

## Building

To create a production version of your app:
Now complete the link:

```bash
npm run build
# In the pages/ folder:
npm link @wjfe/async-workers
```

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.
If you're not working on the package itself, you may install `@wjfe/async-workers`.
Loading