Update ports / start:core
This commit is contained in:
parent
564dcf7757
commit
bba572852f
7 changed files with 16 additions and 4 deletions
|
@ -8,4 +8,6 @@ An advanced example project for `@tldraw/core`.
|
||||||
|
|
||||||
To start this project:
|
To start this project:
|
||||||
|
|
||||||
- run `yarn dev` from the repository's root directory
|
- run `yarn start:core` from the repository's root directory
|
||||||
|
- open `localhost://5421` in your browser
|
||||||
|
- OR run `yarn dev` from the `examples/core-example-advanced` directory
|
||||||
|
|
|
@ -5,4 +5,7 @@ import tsconfigPaths from 'vite-tsconfig-paths'
|
||||||
// https://vitejs.dev/config/
|
// https://vitejs.dev/config/
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [react(), tsconfigPaths()],
|
plugins: [react(), tsconfigPaths()],
|
||||||
|
server: {
|
||||||
|
port: 5421,
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
|
@ -9,4 +9,5 @@ An simple example project for `@tldraw/core`.
|
||||||
To start this project:
|
To start this project:
|
||||||
|
|
||||||
- run `yarn` from the repository's root directory
|
- run `yarn` from the repository's root directory
|
||||||
- run `yarn dev:core` from the `examples/core-example` directory
|
- run `yarn dev` from the `examples/core-example` directory
|
||||||
|
- open `localhost://5422` in your browser
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev:core": "vite",
|
"dev": "vite",
|
||||||
"build": "tsc && vite build",
|
"build": "tsc && vite build",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"lint": "TIMING=1 eslint src/ --ext .ts,.tsx",
|
"lint": "TIMING=1 eslint src/ --ext .ts,.tsx",
|
||||||
|
|
|
@ -4,4 +4,7 @@ import { defineConfig } from 'vite'
|
||||||
// https://vitejs.dev/config/
|
// https://vitejs.dev/config/
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [react()],
|
plugins: [react()],
|
||||||
|
server: {
|
||||||
|
port: 5422,
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
|
@ -5,4 +5,7 @@ import tsconfigPaths from 'vite-tsconfig-paths'
|
||||||
// https://vitejs.dev/config/
|
// https://vitejs.dev/config/
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [react(), tsconfigPaths()],
|
plugins: [react(), tsconfigPaths()],
|
||||||
|
server: {
|
||||||
|
port: 5420,
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
"build:packages": "turbo run build --filter=./packages/*",
|
"build:packages": "turbo run build --filter=./packages/*",
|
||||||
"build:apps": "turbo run build --filter=./apps/**",
|
"build:apps": "turbo run build --filter=./apps/**",
|
||||||
"start": "turbo run dev --filter=@tldraw/tldraw-example... --parallel",
|
"start": "turbo run dev --filter=@tldraw/tldraw-example... --parallel",
|
||||||
"start:core": "turbo run dev --filter=@tldraw/core-example*... --parallel",
|
"start:core": "turbo run dev --filter=@tldraw/core-example-advanced*... --parallel",
|
||||||
"start:www": "turbo run dev --filter=@tldraw/www... --parallel",
|
"start:www": "turbo run dev --filter=@tldraw/www... --parallel",
|
||||||
"start:vscode": "turbo run dev --filter=./apps/vscode/*... --parallel",
|
"start:vscode": "turbo run dev --filter=./apps/vscode/*... --parallel",
|
||||||
"start:extension": "turbo run dev --filter=@tldraw/new-tab-extension... --parallel",
|
"start:extension": "turbo run dev --filter=@tldraw/new-tab-extension... --parallel",
|
||||||
|
|
Loading…
Reference in a new issue