GithubHelp home page GithubHelp logo

Comments (5)

sprklinginfo avatar sprklinginfo commented on July 17, 2024 1

Can't remember where I saw it. changing the style line as below solved the issue. don't know why.
from:
<link rel="stylesheet" href="{{ asset('/vendor/invoices/bootstrap.min.css') }}">
to:
<link rel="stylesheet" href="{{ public_path('/vendor/invoices/bootstrap.min.css') }}">

from laravel-invoices.

PovilasKorop avatar PovilasKorop commented on July 17, 2024

@HADES-TECH try that solution by @sprklinginfo and tell us if it works, so we could close the issue

from laravel-invoices.

HADES-TECH avatar HADES-TECH commented on July 17, 2024

By changing asset to public path, blade view is not detecting the css link. But it works for me, Thanks.

from laravel-invoices.

HADES-TECH avatar HADES-TECH commented on July 17, 2024

Also, Is this the correct way to save file in desired folder?
->save(public_path('uploads/release'));
It gives me this exception: InvalidArgumentException
Disk [C:\Users\KN7\Desktop\Living Fashions\Laravel Projects\lfims\public\uploads/release] does not have a configured driver.

from laravel-invoices.

mc0de avatar mc0de commented on July 17, 2024

@HADES-TECH define your disk in config/filesystems.php

it looks like this

    'disks' => [

        'local' => [
            'driver' => 'local',
            'root' => storage_path('app'),
        ],

        'public' => [
            'driver' => 'local',
            'root' => storage_path('app/public'),
            'url' => env('APP_URL').'/storage',
            'visibility' => 'public',
        ],
...

then use for example ->save('public') or ->save('yourdisk')

from laravel-invoices.

Related Issues (20)

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.