-
-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After installing and activate WebpackEncore i can't access to current theme #3351
Comments
It's not supposed to work like that, i think.. Webpack is for bolt itself. The themes should be agnostic, and separate from that. What are you trying to achieve? |
Ok, but that shouldn't interfere with the mechanics implemented by Bolt. Do I understand that using Webpack breaks everything I can do to use a theme for the front end of my project? Because before installing Webpack, I was able to use a theme that I develop from the theme skeleton that comes with Bolt. What do you recommend doing if you want to integrate Webpack into a Bolt project? Should you rather work without Webpack to have access to all of Bolt's features? |
Hello @celtic34fr, i don't know if you still need help but I followed that documentation and all works fine for me : https://docs.boltcms.io/5.2/howto/encore-setup I hope this could help you :) |
I installed and activated Webpack Encore (last version) according to the documentation (for Bolt CMS 5.0).
After, I create a new Controller with its template. I want to base this template on the _master.twig template from the base-2021 theme.
But the application cannot find the base-2021 theme resources (CSS and JavaScript files).
Even if I specify the name of a package or not in the asset directive of TWIG, I always have the same result:
with package name:
The text was updated successfully, but these errors were encountered: