#Laravel Spark Billing Portal Route not working

8 messages · Page 1 of 1 (latest)

solar bloom
#

im using breeze too, breeze created the routes;

#

Route::get('/', function () {
return Inertia::render('Welcome', [
'canLogin' => Route::has('login'),
'canRegister' => Route::has('register'),
'laravelVersion' => Application::VERSION,
'phpVersion' => PHP_VERSION,
]);
});

Route::middleware('auth')->group(function () {
Route::get('/profile', [ProfileController::class, 'edit'])->name('profile.edit');
Route::patch('/profile', [ProfileController::class, 'update'])->name('profile.update');
Route::delete('/profile', [ProfileController::class, 'destroy'])->name('profile.destroy');
});

spice dagger
#

The Spark service provider registers their own routes, they aren't added to your web.php routes

solar bloom
#

im usign psr4 to import this package, where is the directory of this routes?

#

i have the api routes only

#

@spice dagger

spice dagger
#

Huh..? Just follow the installation docs..?