My partner and I are embarking on a website project for our school assignment, and we have opted to utilize Vue.js and Nuxt.js as the front-end frameworks, along with Vuesax as our chosen UI Framework. Despite our lack of experience with these tools and web development in general until recently, we have encountered a major stumbling block. Our challenge arose when attempting to create a profile drop down menu that reveals its items upon clicking the profile avatar. However, we hit a roadblock when trying to implement an event listener, as Nuxt.js (which is based on node) is intended for universal JavaScript rather than solely client-side operations. Consequently, using "document.getElementId" for event handling resulted in an error stating that it was not defined due to the absence of DOM.
https://i.sstatic.net/3o3SN.png We are now unsure about how to proceed - should we seek out a new framework or plugin/extension? We would greatly appreciate any insights offered. Our goal is to rely purely on JavaScript for front-end event management. Looking ahead, we plan to retrieve data from a MySQL database (though this may change based on feedback), considering Spring Boot as our backend framework for its capabilities in managing requests, creating Java servlets (our most familiar language), and incorporating Tomcat as well.
In our quest for solutions, we have conducted extensive research and sought advice from various sources, but specificity pertaining to our unique project has proven elusive at times. Building a coherent and compatible system of frameworks has been another hurdle we are facing. Nonetheless, we are eager and open to learning, so any guidance, feedback, or recommendations would be highly valued!