{{ theme()->getPageTitle() }}

The laravel use Laravel Mix provides a fluent API for defining webpack build steps. The Laravel Mix config can be found in laravel/webpack.mix.js.

  1. Install the NPM plugin
  2. Add the JS plugin path file to resources/assets/core/plugins/plugins.js and the CSS or SCSS file to resources/assets/core/plugins/plugins.scss. Check the example in this file.
  3. Run the command npm run dev --demo1
  4. The output build files will be here, public/demo1/plugins/global/plugins.bundle.js and public/demo1/plugins/global/plugins.bundle.css

JS Plugins

{{ util()->highlight(file_get_contents(resource_path('assets/core/plugins/plugins.js')), 'js') }}

CSS Plugins

{{ util()->highlight(file_get_contents(resource_path('assets/core/plugins/plugins.scss')), 'scss') }}