Component name "staff" should always be multi-word. In Vue.js, it is recommended to use multi-word component names to avoid conflicts with HTML elements and improve code readability.
Solution#
- You can change the component's name from "staff" to "StaffView". Make sure to update the component's definition and where it is used in the code accordingly.
- Then, you need to restart the server, note that you must restart, restart, restart. Hot reload does not work here.