-
-
Notifications
You must be signed in to change notification settings - Fork 84
Closed
Description
Steps to reproduce:
- Run
composer create symfony/skeleton
cd skeleton
composer req encore twig maker doctrine/annotations
./bin/console make:cont Test- Add
{{ encore_entry_link_tags('app') }}intemplates/base.html.twig - Change
output_pathinconfig/packages/webpack_encore.yamlto%kernel.project_dir%/public/build/default - Change paths in
webpack.config.js
Encore
// directory where compiled assets will be stored
.setOutputPath('public/build/default')
// public path used by the web server to access the output path
.setPublicPath('/build/default')- Run
npm i && npm run build - Run web server (e.g.
php -S 8888 -t public) and open http://localhost:8888/test
And you get exeption like this
An exception has been thrown during the rendering of a template ("Asset manifest file "/var/www/html/public/build/manifest.json" does not exist.").
Metadata
Metadata
Assignees
Labels
No labels