Skip to content

Commit

Permalink
Remove section about SvelteKit 1.0.0-next.572 as support has been d…
Browse files Browse the repository at this point in the history
…ropped
  • Loading branch information
allezxandre committed Dec 27, 2022
1 parent 3dd07ba commit d273e07
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,25 +43,6 @@ for instance in the `src/routes/+layout.svelte` file:
<slot />
```

### On SvelteKit versions prior to 1.0.0-next.572

This package uses `$app/navigation` from SvelteKit. If you are using a version
of SvelteKit prior to `1.0.0-next.572`, you will need to `exclude` it in your Vite
configuration, like so:

```diff
// vite.config.js
import { sveltekit } from '@sveltejs/kit/vite';

/** @type {import('vite').UserConfig} */
const config = {
plugins: [sveltekit()],
+ optimizeDeps: { exclude: ['$app'] },
}}
```

(see <https://github.com/sveltejs/kit/pull/7933>)

## Bar Color

The progress bar does **not** have a default color, so you will need to set one. You can either set the color as a data property, as a `text-` class if you're using Tailwind/WindiCSS, or override the CSS.
Expand Down

0 comments on commit d273e07

Please sign in to comment.