Official SvelteKit Demo Request #7260
arkmech
started this conversation in
Feature Requests & Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Would like an Official SvelteKit demo.
svelte.config.js
, using@sveltejs/adapter-node
as adapter.vite build
, generates build directory with SvelteKit handlers@t3-oss/env-core
./src/env.ts
, wherecreateEnv
is setup.Two places use
env.ts:
./src/lib/server/index.ts(express server) and
./src/lib/server/payload/payload.config.ts`,cross-env PAYLOAD_CONFIG_PATH=./src/payload.config.ts tsx watch ./src/lib/server/index.ts
Beta Was this translation helpful? Give feedback.
All reactions