Note
This bundle uses symfony flex recipes to install further files via composer. Please check that flex is already configured in your project as it is part of the installation.
$ composer require enhavo/dashboard-bundle ^0.8
Execute following command to add required node package:
$ yarn add @enhavo/dashboard
Add following entrypoint to the enhavo section in webpack.config.js
file.
// import
const DashboardPackage = require('@enhavo/dashboard/Encore/EncoreRegistryPackage');
// register package
.register(new DashboardPackage())
Update your config/packages/enhavo.yaml
enhavo_app:
menu:
dashboard:
type: dashboard
Execute following commands to build your asset files.
$ yarn encore dev
% yarn routes:dump