Skip to content

Duplicate in production ( Laravel Vapor )Β #100

@cloudstudio

Description

@cloudstudio

Hello guys! something weird is happening.

Working super super nice in local as allways, when we deploy in production, using laravel vapor + serverless this is what I see:

Captura de pantalla 2022-12-19 a las 11 14 01

As you see is duplicated 3 times, this happend with all commands.

I try creating custom custom provider, or just using default livewire-ui-spotlight.php

Any ideas?

`<?php

return [

/*
|--------------------------------------------------------------------------
| Shortcuts
|--------------------------------------------------------------------------
|
| Define which shortcuts will activate Spotlight CTRL / CMD + key
| The default is CTRL/CMD + K or CTRL/CMD + /
|
 */

'shortcuts' => [
    'k',
    'slash',
],

/*
|--------------------------------------------------------------------------
| Commands
|--------------------------------------------------------------------------
|
| Define which commands you want to make available in Spotlight.
| Alternatively, you can also register commands in your AppServiceProvider
| with the Spotlight::registerCommand(Logout::class); method.
|
 */

'commands' => [
    App\Spotlight\SearchVehicle::class
],

/*
|--------------------------------------------------------------------------
| Include CSS
|--------------------------------------------------------------------------
|
| Spotlight uses TailwindCSS, if you don't use TailwindCSS you will need
| to set this parameter to true. This includes the modern-normalize css.
|
 */
'include_css' => false,

/*
|--------------------------------------------------------------------------
| Include JS
|--------------------------------------------------------------------------
|
| Spotlight will inject the required Javascript in your blade template.
| If you want to bundle the required Javascript you can set this to false,
| call 'npm install fuse.js' or 'yarn add fuse.js',
| then add `require('vendor/livewire-ui/spotlight/resources/js/spotlight');`
| to your script bundler like webpack.
|
 */
'include_js' => true,

];
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions