Closed JESii closed 6 years ago
Not sure what might be wrong offhand. @holyfirexx, does anything stick out to you?
Sorry, didn't see this notification until today! I ran a quick test, and I can't reproduce your issue. Could you upload your generated html file?
Update: Actually, I even copied your exact code above and it worked perfectly. Definitely would help to see what your generated file looks like.
Hmm. I honestly have no idea what could be going wrong. My only guess is that it has something to do with the way you are adding title and appMountId. Try hard coding those and see if it helps. When I copied your code I replaced those with random strings. That was the only difference and it all worked.
One more thought: The html snippets are a fairly new addition, could you be on an older version that doesn't have them?
@holyfirexx thanks for taking a look. if it worked for you, I'm going to assume something else is going on in the environment for now. I'll close for now. If you find more evidence that the problem is in the template, feel free to reopen this.
Probably the later version; I'm on the 5.6 version.
Thanks much!
Definitely the version. html snippets weren't added until 6.1.
I have the following definition in my webpack config:
The "options" values are specified when this is called:
Builds to webpack-dev-server and production all complete with no errors and I am able to display the app.
All parameters work just fine except, the body-snippet is not added.
What am I doing wrong?