Open cordova-gh opened 4 years ago
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
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' }
} Anyone can help me? Thanks