Skip to content

u/andywade84

In this archive from Jul 2013 to Nov 2021

7
posts
81
comments
2
media
246
score

It would be an issue with tailwind.
Make sure to publish the views, as it uses tailwind, if the views are not published it may emit some of the classes needed to render if you use purgeCSS.

also make sure your livewire styles, and livewire scripts blade directives are in the layouts you want to display data tables on.

1 points

USing it currently, Its great. Also lets you run your project in a docker container if you need specific php extensions,/config or third party command line programs for processing.

Deployment is simple with a CI/CD Like github or Bitbucket Pielines.
Costs, can be a bit pricey for databases. but they are secure, and fast so its worth it.

2 points

Ok thanks i figured it out. Can you use them both? Like you call the mailable class inside the notification class inside the toMail function. Is it possible. And what's your preference do you use mailable class or notifications

Yeah you just make a new Mailable Class

in the toMail function put.

return (new YourMailerClass)->subject('Whatever')

Or you can use the default MailMessage and return a view

return (new MailMessage) ->subject('Your Subject') ->view('emails.notificationview', ['user' => $notifiable])

1 points

If you are sending an invite, it might be useful to make an invites relationship for the users so you can track who has signed up etc.

Create a model

php artisan make:model invites --migration

in your controller.$invite = $user->invites()->create(['email' => email@domain.com,'user_id' => $user->id)

$invite->Notify(new InviteEmail::class);

Then make a notifiable that sends the email.

You can do signed routes that will let your system know which invite created a sign up and let your original user know that the person they invited signed up, or give them a referal bonus etc.

Code above not tested, probably wont work I am hungover its new years day! Good luck!

3 points

Don't let the downvotes bother you. I rolled my own dash with Livewire, Livewire datatables(awesome btw) Chartisan and built it around windmill tailwind dashboard.

If you want to do anything remotely custom the boilerplate admin dashboards take more customizing than just rolling your own.

I've used Nova, Backpack, voyager, and even attempted the laravel/admin-lte package but they all fell short.

It definatly addresses ALL the issues the OP has posted.

-2 points

Ohhhh I am excited as I am the first to use bitbucket pipelines and vapor!

Develop branch deploys to an aws light sail instance with ssh deploy basically pulling the last commit before doing composer update and npm build stuff.

Master branch deploys to staging for UAC and a manual step to deploy to production.

It's pretty neat.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.