Answer the question
In order to leave comments, you need to log in
How to use webpack.DefinePlugin.runtimeValue?
Hello, I want to be able to write in index.html like this
<% VUE_APP_ADD_INLINE("style", "body{background:green}" ) %>
<style>body{background:green}</style>
VUE_APP_ADD_INLINE: webpack.DefinePlugin.runtimeValue(function (tag, code) {
return JSON.stringify("<" + tag + ">" + code + "</" + tag + ">");
}, []),
Template execution failed: TypeError: "<[object Object]>undefined</[object Object]>" is not a function
TypeError: "<[object Object]>undefined</[object Object]>" is not a function
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question