Coder Social home page Coder Social logo

Laravel 7 Blade Components about nwidart-docs HOT 4 CLOSED

nwidart avatar nwidart commented on August 11, 2024
Laravel 7 Blade Components

from nwidart-docs.

Comments (4)

silicahd avatar silicahd commented on August 11, 2024

Update on this the module does not work with Laravel 7

`D:\laravel\istyle\Sync\istyle\Server\www\FrontEnd>php artisan module:make-model mobile

   Error 

  Class 'Modules\Mobile\Providers\MobileServiceProvider' not found

  at D:\laravel\istyle\Sync\istyle\Server\www\FrontEnd\vendor\laravel\framework\src\Illuminate\Foundation\ProviderRepository.php:208
    204|      * @return \Illuminate\Support\ServiceProvider
    205|      */
    206|     public function createProvider($provider)
    207|     {
  > 208|         return new $provider($this->app);
    209|     }
    210| }
    211| 

  1   D:\laravel\istyle\Sync\istyle\Server\www\FrontEnd\vendor\laravel\framework\src\Illuminate\Foundation\ProviderRepository.php:144
      Illuminate\Foundation\ProviderRepository::createProvider("Modules\Mobile\Providers\MobileServiceProvider")

  2   D:\laravel\istyle\Sync\istyle\Server\www\FrontEnd\vendor\laravel\framework\src\Illuminate\Foundation\ProviderRepository.php:61
      Illuminate\Foundation\ProviderRepository::compileManifest()`

from nwidart-docs.

nWidart avatar nWidart commented on August 11, 2024

Hello,

Blade components are not linked to this package, you can just use them as referenced by the docs.
The error you have seems to be with how you autoloaded the modules. Make sure you did so.

I'm running the package in laravel 7 and it works fine.

from nwidart-docs.

silicahd avatar silicahd commented on August 11, 2024

Hello,

Blade components are not linked to this package, you can just use them as referenced by the docs.
The error you have seems to be with how you autoloaded the modules. Make sure you did so.

I'm running the package in laravel 7 and it works fine.

Thank you for the super quick reply, I will do a clean setup again, this was a clean L7 setup with just the modules. I can create modules, but I can not add models.

from nwidart-docs.

silicahd avatar silicahd commented on August 11, 2024

Odd.... found the problem for some reason it did not add "Modules\": "Modules/" in the psr-4 usually it always did that automatically.

from nwidart-docs.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.