neoighodaro-articles / creating-laravel-packages

8 stars 5 forks source link

[ QUESTION] Seeding database from package #2

Open lucianobosco opened 4 years ago

lucianobosco commented 4 years ago

Hi! First of all just to thank you for the amazing tutorial!. I was able to create my own package in Laravel 6.x for the first time. I was wondering if there is an easy way to include seeds since I found another tutorial that uses https://github.com/eklundkristoffer/seedster. I would like to have no dependencies in my main project to seeding from packages. Thanks in advance

ghost commented 4 years ago

Official Documentation has a section on loading factories from your package. How did you get around the frontend though? i got an error that says: Vue not defined