Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

update SvelteKit example (#166) #175

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from 3 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
2 changes: 1 addition & 1 deletion sveltekit/.env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VITE_DIRECTUS_URL=http://localhost:8055
PUBLIC_DIRECTUS_URL=http://localhost:8055
[email protected]
DIRECTUS_PASSWORD=d1r3ctu5
DIRECTUS_STATIC_TOKEN=
13 changes: 13 additions & 0 deletions sveltekit/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.DS_Store
node_modules
/build
/.svelte-kit
/package
.env
.env.*
!.env.example

# Ignore files for PNPM, NPM and YARN
pnpm-lock.yaml
package-lock.json
yarn.lock
5 changes: 4 additions & 1 deletion sveltekit/.prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
"useTabs": true,
"singleQuote": true,
"trailingComma": "none",
"printWidth": 100
"printWidth": 100,
"plugins": ["prettier-plugin-svelte"],
"pluginSearchDirs": ["."],
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
}
2 changes: 1 addition & 1 deletion sveltekit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This is a [SvelteKit](https://kit.svelte.dev) project bootstrapped with [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte).

> ℹ This example uses @sveltejs/kit version `1.0.0-next.350`.
> ℹ This example uses @sveltejs/kit version `1.0.0-next.560`.

[![Open in CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/directus/examples/tree/main/sveltekit)

Expand Down
11 changes: 0 additions & 11 deletions sveltekit/jsconfig.json

This file was deleted.

Loading