Closed subtain-haider closed 4 years ago
If everybody would write issues like you, the world would be a better place ;)
I guess you figured it out yourself, but probably some small detail was missing, I'm not sure which one.
A recommendation in the future, load your package service providers before the ones in your local project. There's a comment in the app.php
that will indicate where. The reason for this is having the possibility to customize what you need (bindings, policies etc).
Sir thanks for your kind and quick reply, I just want to ask few more questions:
1: Why am getting this sql error, I tried to do as manual bt still getting the error which is also coming in ur video. (Yes, I know its not related to enso bt still if u can help).
Ok update, I solved the sql issue by updating table/builders/CampusTable.php
by using this return Campus::selectRaw('id,code,name,email,number,type,address,city');
and almost clear on my second question bt will be more cleared if you answer
and am eagerly looking forward for the answer of my third question.
Thanks
Great.
You only have to build packages if you need (reusable between project) packages. If not the cli will generate the structure in your local project and you are good to go
A good start would be reading the docs, you can find mentions there about customizing Enso. When coming to customizing keep in mind that you will have to figure out things yourself.
This is a bug .
Prerequisites
Description
Hello, am using laravel enso for first time and am also new to package building am having this issue, I will try to explain it detail plzzz resolve my issue as am stuck on this for 2 days.
So these are the steps which I did:
php artisan enso:cli
Package
option I gave following things:name: campuses
vendor: sibtain
in enso cli.Generate
option which generated a package for me in vendor/sibtain/campuses.composer.json
file of my main project.composer dump-autoload
php artisan migrate:fresh --seed
.php artisan vendor:publish
and of course chosing my package, and then I cd into client folder of main project and runnpm install
,npm run prod
homestead.test/campuses
it doesn't load the table even this route :homestead.test/campuses/create
is also not loading the form.homestead.test/campuses
It gives following errors in console:TypeError: Cannot read property 'columns' of undefined
,TypeError: Cannot read property 'style' of undefined
,Uncaught (in promise) TypeError: Cannot set property 'loading' of undefined
.Following is the git repository of my main project: https://github.com/subtain-haider/eoxley
Following is the git repository of my package which is placed in project_root_folder
/vendor/sibtain/campuses
: https://github.com/subtain-haider/campusesFollowing the screen recording of the error which I am facing: https://drive.google.com/file/d/17E5e9rvqsFfvtEA5bcIHRC0Oje7Xr_bD/view
Steps to Reproduce
Expected behavior
It should run normally as its doing with all other packages
Actual behavior
Generating random errors