Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exportComponent not found #2032

Open
CKHuang opened this issue Mar 21, 2023 · 0 comments
Open

exportComponent not found #2032

CKHuang opened this issue Mar 21, 2023 · 0 comments

Comments

@CKHuang
Copy link

CKHuang commented Mar 21, 2023

"export 'default' (imported as 'exportComponent') was not found in '/path/to/node_modules/vue-loader/dist/exportHelper.js'

but,exportHelper.js file is exsit

// "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
// runtime helper for setting properties on components
// in a tree-shakable way
exports.default = (sfc, props) => {
    const target = sfc.__vccOpts || sfc;
    for (const [key, val] of props) {
        target[key] = val;
    }
    return target;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant