The Vue installation guide advises to add a window.HSStaticMethods.autoInit(); to the onMounted() of the basic App.vue. However, this fires an error at l. 152
However, directly at startup, this fires the following error from preline.js, l. 152:
Uncaught TypeError: Cannot read properties of undefined (reading 'getAttribute')
at new e (preline.js:152:992)
at preline.js:152:2902
at NodeList.forEach (<anonymous>)
at e.autoInit (preline.js:152:2756)
at preline.js:207:255
at Array.forEach (<anonymous>)
at Object.autoInit (preline.js:207:212)
at App.vue:28:28
Summary
The Vue installation guide advises to add a window.HSStaticMethods.autoInit(); to the onMounted() of the basic App.vue. However, this fires an error at l. 152
Steps to Reproduce
Following the preline Vue installation notes at [https://preline.co/docs/frameworks-vuejs.html](), I added
to
App.vue
.However, directly at startup, this fires the following error from
preline.js, l. 152:
(cf. screenshot below)
I should be at the newest version
Demo Link
N/A
Expected Behavior
Should not fire an error
Actual Behavior
Does fire an error
Screenshots