andreaselia / laravel-analytics

Analytics for the Laravel framework.
MIT License
165 stars 25 forks source link

Use Dashboard UI without Nova? #48

Closed chrissy-dev closed 5 months ago

chrissy-dev commented 5 months ago

Similar to #47 - I'm simply using blade on a very minimal project, how do I add a route for say /analytics and show the dashboard?

I've tried calling the view directly but the data is missing.

chrissy-dev commented 5 months ago

Ahh got it.

Route::get('/{view?}', 'HomeController@index')->where('view', '(.*)')->name('analytics');
andreaselia commented 5 months ago

Glad you figured it out. If you need anything just let us know.