Skip to content

Building and deployment

During the build process, source files are concatinated and minified in a single file. Only built files should be uploaded to your server.

Building

Execute the following command in your terminal:

npm run build

In your build folder you will get 2 files, the generated bundle and dashboard-assets.blade.php file which is used to include the generated bundle in the head section.

Build folder

Deployment

The generated build files must be uploaded to your server as following:

  • dashboard-xxxxx.js file to public_html/public/
  • dashboard-assets.blade.php file to resources/views/blue/partials/head/dashboard-assets.blade.php

Info

public_html refers to your web root folder, which might be different based on your hosting configuration.