I'm trying to import a component using just the path folder, but I keep getting the error Cannot find module './components/layout/Navbar'.Vetur(2307)
Here's how I import the component
import Navbar from "./components/layout/Navbar";
@Component({
components: {
Navbar
}
})
vue.config.js
const webpack = require("webpack");
module.exports = {
configureWebpack: {
plugins: [
new webpack.ProvidePlugin({
$: "jquery",
jquery: "jquery",
"window.jQuery": "jquery",
jQuery: "jquery"
})
]
}
};