This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require('laravel-mix-purgecss'); | |
| let packages = require('./package.json'); | |
| mix.purgeCss({ | |
| extend: { | |
| content: Object.keys({...packages.devDependencies, ...packages.dependencies }).flatMap((dependency) => { | |
| return [ | |
| path.join(__dirname, 'node_modules/'+ dependency +'/**/*.js'), | |
| path.join(__dirname, 'node_modules/'+ dependency +'/**/*.vue'), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| php artisan migrate | |
| php artisan optimize |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // use BootstrapComponents; on top | |
| public function rows(Request $request) | |
| { | |
| $page = $request->get('page', 1); | |
| $perPage = 15; | |
| $items = collect($myItems); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @component('bootstrap::modal') | |
| @slot('title') | |
| Modal title | |
| @endslot | |
| <p>Modal body text goes here.</p> | |
| @slot('footer') | |
| <button type="button" class="btn btn-primary">Save changes</button> | |
| <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="modal fade"> | |
| <div class="modal-dialog" role="document"> | |
| <div class="modal-content"> | |
| <div class="modal-header"> | |
| <h5 class="modal-title">Modal title</h5> | |
| <button type="button" class="close" data-dismiss="modal" aria-label="Close"> | |
| <span aria-hidden="true">×</span> | |
| </button> | |
| </div> | |
| <div class="modal-body"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Script to add or mark Magento admin notifications | |
| * | |
| * @author Olav van Schie | |
| * @version 0.1 | |
| */ | |
| $magePHP = 'app/Mage.php'; |