starterkit/assets/_keenthemes
folder are specifically for the core assets of Keenthemes. If you need to customize the existing assets or add additional ones, you can use the build tools provided in that folder. starterkit/assets/_keenthemes
folder, it will generate the bundled assets, which can be found in the starterkit/public/assets
folder. These bundled assets are optimized and ready to be used in your Symfony project.composer require symfony/webpack-encore-bundle
yarn install && yarn dev
use App\Service\ThemeHelper;
and replace it with use App\Helpers\ThemeHelper;
"type": "module",
(line ~9)let rootPath = path.resolve(__dirname, '../..');
new line: let rootPath = path.resolve(__dirname, '../../..');
const srcPath = rootPath + '/_keenthemes/src' + themePath;
new line: const srcPath = rootPath + '/assets/_keenthemes/src' + themePath;
/assets/_keenthemes/tools/node_modules/
/public/assets/
cd root/assets/_keenthemes/tools folder of your project
yarn install
npm run build
(! Remember yarn install
it won't work here)symfony server:start