Skip to content

Commit 77a0ce8

Browse files
committed
chore(pages): Update demo project
1 parent 310e511 commit 77a0ce8

File tree

8 files changed

+1072
-1243
lines changed

8 files changed

+1072
-1243
lines changed

pages/README.md

Lines changed: 9 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,19 @@
1-
# create-svelte
1+
# Online Demo for @wjfe/async-workers
22

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

5-
## Creating a project
6-
7-
If you're seeing this, you've probably already done this step. Congrats!
8-
9-
```bash
10-
# create a new project in the current directory
11-
npm create svelte@latest
12-
13-
# create a new project in my-app
14-
npm create svelte@latest my-app
15-
```
16-
17-
## Developing
18-
19-
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
5+
To use it to test-drive changes in the package itself, link to the built project:
206

217
```bash
22-
npm run dev
23-
24-
# or start the server and open the app in a new browser tab
25-
npm run dev -- --open
8+
# In the workspace folder (not this, the pages/ folder):
9+
npm run build && npm link
2610
```
2711

28-
## Building
29-
30-
To create a production version of your app:
12+
Now complete the link:
3113

3214
```bash
33-
npm run build
15+
# In the pages/ folder:
16+
npm link @wjfe/async-workers
3417
```
3518

36-
You can preview the production build with `npm run preview`.
37-
38-
> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.
19+
If you're not working on the package itself, you may install `@wjfe/async-workers`.

0 commit comments

Comments
 (0)