0.1.4-c • Published 1 year ago

svelte-blitz v0.1.4-c

Weekly downloads
-
License
-
Repository
github
Last release
1 year ago

Svelte Blitz

A svelte port for blitzjs

If you want to injoy blitzjs features within sveltekit then this is right for you!

If you want to install this you can do so using the following:

npm i svelte-blitz

Note: You must start a sveltekit skeleton ts project before you use this You can start using this by first creating the default sveltekit typescript barebones project and then following these steps:

  1. change contents of vite.config.ts to the following
import type { UserConfig } from 'vite';
import { svelteBlitz } from 'svelte-blitz/plugin';

const config: UserConfig = {
	plugins: [
		svelteBlitz({
			exclude: ["@prisma/client"]
		})
	]
};

export default config;
  1. Run npm run dev and some files will be added to your skeleton project to allow using blitz

This should allow you to use prisma. to use invoke you'll be importing it from svelte-blitz

you can transform sveltekit handler to next like handler by using the createHandler method.

If you want to help you can contact me directly.

Happy coding.

Later I would like to add a bin that allows a svelte-blitz container over blitz cli, though I'll like some help with that.

0.1.4-c

1 year ago

0.1.4-b

1 year ago

0.1.4-a

1 year ago

0.1.4

1 year ago

0.1.3-d

1 year ago

0.1.3-c

1 year ago

0.1.3-b

1 year ago

0.1.3-a

1 year ago

0.1.3

1 year ago

0.1.2-i

1 year ago

0.1.2-h

1 year ago

0.1.2-g

1 year ago

0.1.2-f

1 year ago

0.1.2-e

1 year ago

0.1.2-d

1 year ago

0.1.2-c

1 year ago

0.1.2-b

1 year ago

0.1.2-a

1 year ago

0.1.2

1 year ago

0.1.1-j

1 year ago

0.1.1-i

1 year ago

0.1.1-h

1 year ago

0.1.1-g

1 year ago

0.1.1-f

2 years ago

0.1.1-e

2 years ago

0.1.1-d

2 years ago

0.1.1-c

2 years ago

0.1.1-b

2 years ago

0.1.1-a

2 years ago

0.1.1

2 years ago

0.0.1-m

2 years ago

0.0.1-l

2 years ago

0.0.1-k

2 years ago

0.0.1-j

2 years ago

0.0.1-i

2 years ago

0.0.1-h

2 years ago

0.0.1-g

2 years ago

0.0.1-f

2 years ago

0.0.1-e

2 years ago

0.0.1-d

2 years ago

0.0.1-c

2 years ago

0.0.1-b

2 years ago

0.0.1-a

2 years ago

0.0.1

2 years ago