[Vuejs]-Vuejs Failed to compile with 1 errors Relative module not found

3👍

You have a spelling mistake in your code. The filename of the component is PostForm.vue but in Home.vue you are trying to import the component from PostFrom.vue.

Use the proper filename and the error will go away.

2👍

This error usually happens when I rename a component and forget to change the file name

Leave a comment