laravel / jetstream

Tailwind scaffolding for the Laravel framework.
https://jetstream.laravel.com
MIT License
3.95k stars 809 forks source link

Vue files as npm package #28

Closed lostdesign closed 4 years ago

lostdesign commented 4 years ago

Based on PR #26 i had the idea of moving the vue files for jetstream into their own npm package or build them as npm package additionally. Eventually this could be used for maintaining Laravel's UI components in a monorepo with Storybook, if there ever were plans to also create React Components when combined with Inertia.

This enables people to use the UI+fortify to build their own jetstream? Or are there any plans of adding more "flavors" for jetstream at a later point? Tbh, I am not sure what flavors could even be added, other than "plain" which is just exposing an API using sanctum?

lewislarsen commented 4 years ago

Would support a "plain" variant, more options never hurt and it would offer an alternative route other than Livewire/Inertia.

lostdesign commented 4 years ago

I am wondering though, if "plain" isn't just using fortify or if its better for over there then.

driesvints commented 4 years ago

Gonna wait a bit to see how #26 goes before deciding upon this.

driesvints commented 4 years ago

Tbh, I don't think we'll take this approach anyway. But the PR might help the ease in using different frameworks.