Skip to content
This repository was archived by the owner on Mar 8, 2019. It is now read-only.
This repository was archived by the owner on Mar 8, 2019. It is now read-only.

Parse error: cannot resolve module #98

@AldericWend

Description

@AldericWend

Using vue-styleguidist 3.0.9.

I get the following error in a SFC .vue file importing a mixin .js file:

Warning: Cannot parse resources\assets\js\components\items\actions\ItemAction.vue: Error: Neither 'assets/js/components/mixins/classGenerator.vue' nor 'assets/js/components/mixins/classGenerator.js', not even 'assets/js/components/mixins/classGenerator/index.js' or 'assets/js/components/mixins/classGenerator/index.ts' could be found in 'W:\partners.dev.viaevista.fr\partners-fc\laravel\resources\assets\js\components\items\actions'

Maybe it's because vue-docgen-api does not rely on webpack, right?
But for information, here is the import statement:

import classGenerator from "assets/js/components/mixins/classGenerator";

And here is a snippet of the webpack config for resolving modules:

resolve: { modules: [ path.resolve(__dirname, 'resources'), 'node_modules' ],

Best regards.

AldericWend

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions