You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've now fought my way into rendering Twill content on the frontend.
I say fighting, because it really is hard, kind of haha.
Currently you encounter one error after the other and have to follow them, create files etc until you are at a point where a view renders. Then you have dump variables in your view to see what else is going on...
It would be much clearer for all users if there was one example CRUD module, that comes pre-installed with all the files needed from backend over controllers to views.
There should also be a cli command like php artisan twill:fresh that deletes the example and rolls back the example DB tables.
I'm confident this would make it much easier to start, and make up for unclear documentation as well.
EDIT
It could be installed optionally also php artisan twill:install --with-example
This discussion was converted from issue #230 on June 28, 2021 01:13.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've now fought my way into rendering Twill content on the frontend.
I say fighting, because it really is hard, kind of haha.
Currently you encounter one error after the other and have to follow them, create files etc until you are at a point where a view renders. Then you have dump variables in your view to see what else is going on...
It would be much clearer for all users if there was one example CRUD module, that comes pre-installed with all the files needed from backend over controllers to views.
There should also be a cli command like
php artisan twill:fresh
that deletes the example and rolls back the example DB tables.I'm confident this would make it much easier to start, and make up for unclear documentation as well.
EDIT
It could be installed optionally also
php artisan twill:install --with-example
Beta Was this translation helpful? Give feedback.
All reactions