-
Notifications
You must be signed in to change notification settings - Fork 41
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
Is Blast for Tailwind only? #95
Comments
same question. Also i see that there is an error "Too few arguments to function A17\Blast\Controllers\StoryController::__invoke() ..." if there is no tailwind config. @ifox anm i right? There is real no way to use Blast without TW? |
It appears that the Tailwind preflight wasn't being disabled correctly. I've pushed an update that fixes that so the CSS included with blast no longer interferes with your app's CSS. @DreamShaded Are you getting that error when running the launch task? Can you test again with 1.9.2? |
@mrtimbrook hi, thx a lot!) i'll be able to check it out this weekend |
@DreamShaded , hi! is blast work for you? can you tell me version laravel and blast? |
Нет(( Собираю шаблон, свежий ларавель, свежий бласт, ошибка та же. Пока никак не заводится. No, i'm trying to set up template for projects and i use latest packages, but it coudn't start. @mrtimbrook thx a lot for your work, but maybe there is something else except Tailwind cause this error? |
@DreamShaded I think this is because you've gone to the Once you've installed blast you run |
yes, it works for me. but i have to edit .env and set:
and it run under wsl2 ubuntu. But it doesn't work on windows ¯_(ツ)_/¯ maybe it is ok and some day i going to switch from windows 10 to ubuntu |
Looks like https://github.com/area17/blast/blob/main/.storybook/preview.js#L1 imports https://github.com/area17/blast/blob/main/resources/frontend/css/main.css and therefore tailwind by default. This makes it very hard to use Blast for anything that does not use it. Tailwind has it's own set of default styles and resets (i.e. sets
<svg>
todisplay:block
) that changes styling of components we build in storybook. Either requires overriding tailwind styles or produces unexpected results once the component is rendered outside of Blast. Neither is the ideal workflow.Is that by design to only support tailwind projects or is possible to fix?
The text was updated successfully, but these errors were encountered: