Skip to content

import failed #44

@cordova-gh

Description

@cordova-gh

Hi,
I imported the theme with npm vue-argon-theme, but at the moment of build, I have these problems "I think" with Webpack:

ERROR in ./node_modules/vue-argon-theme/lib/globalComponents.js
Module not found: Error: Can't resolve './components/Badge' in '/Users///NodeJs/demo/node_modules/vue-argon-theme/lib'
@ ./node_modules/vue-argon-theme/lib/globalComponents.js 1:0-39 15:18-23 15:30-35
@ ./node_modules/vue-argon-theme/lib/index.js
@ ./src/app/index.js

Following the Webpack config file:

const { VueLoaderPlugin } = require('vue-loader');
module.exports = {
entry: './src/app/index.js',
output: {
path: __dirname + '/src/public/js',
filename: 'bundle.js'
},
module: {
rules: [
{
test: /.js$/,
exclude: /node-modules/,
use: {
loader: 'babel-loader'
}
},
{
test: /.vue$/,
loader: 'vue-loader'
}

    ]
}, plugins: [
    new VueLoaderPlugin()
]

}
Anyone can help me?
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions