Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overriding style.css #11

Closed
KonradHambuch opened this issue Jul 18, 2023 · 1 comment
Closed

Overriding style.css #11

KonradHambuch opened this issue Jul 18, 2023 · 1 comment

Comments

@KonradHambuch
Copy link

KonradHambuch commented Jul 18, 2023

@PavlosIsaris

If you publish style.css

php artisan vendor:publish \
--provider="SciFY\LaravelCookiesConsent\LaravelCookiesConsentServiceProvider" \
--tag="laravel-assets"

and then run composer update, it will override with the original file because it is tagged as 'laravel-assets' and the default composer.json contains this code:

"post-update-cmd": [
            "@php artisan vendor:publish --tag=laravel-assets --ansi --force"
        ],

I suggest to modify this tag (12. line) to something different.

$this->publishes([
__DIR__ . '/../resources/assets' => public_path('vendor/cookies_consent'),
], 'laravel-assets');

@PavlosIsaris
Copy link
Contributor

Fixed in v1.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants