diff --git a/README.md b/README.md index b5b2950..026f4f8 100644 --- a/README.md +++ b/README.md @@ -6,32 +6,32 @@ Everything you need to build a Svelte project, powered by [`sv`](https://github. If you're seeing this, you've probably already done this step. Congrats! -```bash +\`\`\`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 +\`\`\`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 +\`\`\`bash npm run build -``` +\`\`\` You can preview the production build with `npm run preview`. diff --git a/src/lib/components/terminal-visualizer.svelte b/src/lib/components/terminal-visualizer.svelte index f161623..b034c27 100644 --- a/src/lib/components/terminal-visualizer.svelte +++ b/src/lib/components/terminal-visualizer.svelte @@ -1,5 +1,6 @@
@@ -153,6 +166,6 @@
- RENDERER: CANVAS_2D // {containerWidth.get()}x{containerHeight.get()} + RENDERER: CANVAS_2D // {$containerWidth}x{$containerHeight}
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 42a8c4a..ea34547 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -119,7 +119,7 @@ | root@mytmux:~ $ tmux new -s dev | | [0] nvim ---------------- [1] server -- | | | | | | - | | import { life } | npm run | | + | | import {'{ life }'} | npm run | | | | from 'tmux'; | dev | | | | | | | | | // TODO: Sleep | | |