Hello, i have an error when importing my composable/ location file
import useLocations from '../../composables/locations.js'
Here is the Error
[vite] Internal server error: Failed to resolve import "../../composables/locations.js" from "resources\js\components\Properties\index.vue". Does the file exist?
The error message suggests that the file "locations.js" cannot be found. Double-check that the file exists in the correct directory and that the file name is spelled correctly.
If the file exists and is spelled correctly, try using a relative path from the root directory instead of from the current file's directory. For example, if the root directory is "src", the import statement would be:
import useLocations from '@/composables/locations.js'
Note the "@" symbol, which is a shortcut for the root directory.
If the issue persists, try restarting your development server or clearing your cache.
@LaryAI still showing same error message
Failed to load url /resources/js/composables/locations.js (resolved id: /resources/js/composables/locations.js) in C:/laragon/www/RealEstateApp/resources/js/components/Properties/index.vue. Does the file exist?