akiyamaSM / larapoll

A Laravel package to manage your polls
MIT License
260 stars 58 forks source link

A guide to install the UI #89

Closed ranrinc closed 4 years ago

ranrinc commented 4 years ago

Is there a guide to install the UI.. I try https://medium.com/@InaniT0/create-polls-easily-using-laravel-package-larapoll-d8e520f021f5 which show the nice UI but no guide on how to make it run.

I hope someone will help

akiyamaSM commented 4 years ago

I don't understand the problem?

Thanks for the usage.

ranrinc commented 4 years ago

I mean.. what do we need to do after the installation steps? because after that part I'm lost and its just show Laravel pages. I cant seems to be able to call the admin view nor the poll view or every pages shown on this guide https://medium.com/@InaniT0/create-polls-easily-using-laravel-package-larapoll-d8e520f021f5. I believe most nubie will have the same problem. I hope this clarified my question. Thank in advanced..

akiyamaSM commented 4 years ago

Please follow the readme instructions https://github.com/akiyamaSM/larapoll#crud-handler

ranrinc commented 4 years ago

Please follow the readme instructions https://github.com/akiyamaSM/larapoll#crud-handler

Where should I put {{ PollWriter::draw(Poll::find(77)) }} or {{ route('poll.vote', $id) }}

How do I make the poll? How do you make/called the pages shown on https://medium.com/@InaniT0/create-polls-easily-using-laravel-package-larapoll-d8e520f021f5?

akiyamaSM commented 4 years ago

Its up to you to where you want the code to be shown, The UI is just a helper, its up to you to decide how to use the the polls. you can even make your own.

ranrinc commented 4 years ago

Its up to you to where you want the code to be shown, The UI is just a helper, its up to you to decide how to use the the polls. you can even make your own.

In your example, how do you make them appear? is there an example? a web.php or the view? or any controller?

being a nubie of laravel I need a liltle more help..

akiyamaSM commented 4 years ago

it should be like this http://yoursite.com/prefix/admin