Butik
Search…
Publish assets
Using the Starter Kit? Normally you don't need to worry about publishing assets then.
butik will automatically publish the following assets during installation:
  • Config file
  • Images
  • resources
The resources (javascript file for the control panel and css file for the frontend) will be forced to overwrite existing files.
To avoid

Config

1
php artisan vendor:publish --tag="butik-config"
Copied!
Will be published to config/butik.php
The config file will automatically be published during the installation process. In case of updates, you need to change the config file manually.

Collections

1
php artisan vendor:publish --tag="butik-collection"
Copied!
Will be published to resources/blueprints/collections/
The product collection will automatically be published during the installation process.

Blueprints

1
php artisan vendor:publish --tag="butik-blueprints"
Copied!
Will be published to resources/blueprints/collections/
The product blueprint will automatically be published during the installation process.

Views

1
php artisan vendor:publish --tag="butik-views"
Copied!
Use our templates as your starting point
Will be published to resources/views/vendor/butik/
The views will automatically be published during the installation process. In case of updates, you need to change the views manually.

Images

1
php artisan vendor:publish --tag="butik-images"
Copied!
Want to use our SVGs or replace them?
Will be published to public/vendor/butik/images/

Language files

1
php artisan vendor:publish --tag="butik-lang"
Copied!
If you want to add or edit language files.
Will be published to /resources/lang/

All assets

1
php artisan vendor:publish --provider="Jonassiewertsen\StatamicButik\StatamicButikServiceProvider"
Copied!
This command will publish all available assets
Last modified 1yr ago