You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
@RSchmitzHH
Could you please share a link to your code? It seems like the required markup might be missing, as the error suggesting that the function can't find the needed attribute typically points to this issue.
In the meantime, you can refer to the basic demo for Vue, which was created to illustrate the correct project setup.
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
The text was updated successfully, but these errors were encountered: