File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
1
[ ![ npm (scoped)] ( https://img.shields.io/npm/v/@zerodevx/svelte-toast/latest )] ( https://www.npmjs.com/package/@zerodevx/svelte-toast )
2
- [ ![ code style: prettier] ( https://img.shields.io/badge/code_style-prettier-ff69b4.svg )] ( https://github.com/prettier/prettier )
3
- [ ![ Lines of code] ( https://img.shields.io/tokei/lines/github/zerodevx/svelte-toast?label=lines%20of%20code )] ( https://github.com/XAMPPRocky/tokei )
4
- [ ![ Size minified] ( https://img.shields.io/bundlephobia/min/@zerodevx/svelte-toast?label=minified )] ( https://bundlephobia.com/ )
5
- [ ![ Size gzipped] ( https://img.shields.io/bundlephobia/minzip/@zerodevx/svelte-toast?label=gzipped )] ( https://bundlephobia.com/ )
2
+ ![ Lines of code] ( https://img.shields.io/endpoint?url=https%3A%2F%2Fzerodevx.github.io%2Fsvelte-toast%2F_loc.json )
3
+ ![ Size minified] ( https://img.shields.io/endpoint?url=https%3A%2F%2Fzerodevx.github.io%2Fsvelte-toast%2F_min.json )
4
+ ![ Size gzipped] ( https://img.shields.io/endpoint?url=https%3A%2F%2Fzerodevx.github.io%2Fsvelte-toast%2F_gzip.json )
6
5
7
6
# svelte-toast
8
7
@@ -488,7 +487,7 @@ consumers, this helps keep in sync with breaking changes that happen in Svelte-w
488
487
consumers, there's a change in import path:
489
488
490
489
``` js
491
- // Import the compiled code.
490
+ // For non-Svelte users, import the compiled code
492
491
import { toast , SvelteToast } from ' @zerodevx/svelte-toast/dist' // ESM
493
492
const { toast , SvelteToast } = require (' @zerodevx/svelte-toast/dist' ) // CJS
494
493
```
You can’t perform that action at this time.
0 commit comments