-
-
Notifications
You must be signed in to change notification settings - Fork 341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to use outside of a Sveltekit project #214
Comments
Is there something preventing it from working now? I don't believe there is anything SvelteKit-specific in the components themselves. As far as install guides, if someone wants to contribute, feel free! |
It make reference to not being able to find something Sveltekit related when you try to install. I will share the exact error in a few |
Ah yes I believe I know what's causing that. I'll look into it and see how feasible it will be to support alternatives! |
Thanks |
Any news on this issue? trying to get the package working on a Laravel and svelte project. |
@huntabyte was wondering if this is the line that is causing the issue package.json and if so can it be executed using the Please see reference for guidance. |
+1 on this. Would love to make use of the CLI for a vanilla svelte project without porting over to SvelteKit. |
I got around this by saving the source code directly and referencing the |
If anyone has the cycles to dig into this, let me know and it's all yours! |
Why we can't use something other than SvelteKit?What prevents the CLI from working in projects other than SvelteKit (such as Vite and Laravel) is a specific piece of code. When we try to run Command failed with exit code 1: npx svelte-kit sync After digging into the code, I realized that the error occurs because of the This function attempts to load a TypeScript configuration file at As in projects other than SvelteKit we do not have The solutionTo solve this problem and support other frameworks, we can remove the assumption that I'm interested in working on this issue. Can I be assigned to it? |
@huntabyte A better way to achieve this, instead of asking for user input, would be to find
Steps 2 and 3 are already implemented. The only thing we would need to add is the first step, so that users outside of a SvelteKit project can also use the CLI Of course this still assumes that the user is using Typescript in their project, an assumption that shadcn/ui does not make, but I think this can be discussed in another issue |
Would be great! +1 for this feature or bug fix lets say |
@willpinha can you fork this and make it work in your fork? |
That would be a great addition! |
Describe the feature in detail (code, mocks, or screenshots encouraged)
Would it be possible to allow usage outside of a Sveltekit project to supports Svelte project created with Vite or Inertia JS from Laravel. Just a point to note the React version offer this flexibility.
What type of pull request would this be?
Enhancement
Provide relevant links or additional information.
No response
The text was updated successfully, but these errors were encountered: