Home

Issue: 2375

How fixed error "This dependency was not found: * plugin0 in ./.nuxt/index.js" in nuxt.config.js

[issue link]

Before I uploaded the project to the githab, the nuxt.config.js worked fine (on the localhost). Now the error pops up This dependency was not found: * plugin0 in ./.nuxt/index.js


module.exports = {
    loading: '~/components/loading.vue',
    head: {
        meta: [
            {charset: 'utf-8'},
            {'http-equiv': 'X-UA-Compatible', content: 'IE=edge'}
        ]
    },
    build: {
        extractCSS: true,
        vendor: ['axios']
    },
    generate: {
        minify: {
            collapseWhitespace: false
        }
    },

    modules: [
        // Or if you have custom bootstrap CSS...
        ['@nuxtjs/bootstrap-vue', { css: false }]
    ]

};
This question is available on Nuxt.js community (#c2067)