We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, when i'm trying to import the css file I get the next error.
Error:
Error: Package path ./dist/vue-pivottable.css is not exported from package C:\dev\vue\monedero-vue\node_modules\vue-pivottable
These are my vue and vue-pivottable versions:
"vue": "^2.6.14", "vue-pivottable": "^0.4.64"
Also this is my eslint config file:
module.exports = { root: true, env: { node: true }, extends: [ 'plugin:vue/essential', '@vue/standard' ], parserOptions: { parser: '@babel/eslint-parser' }, rules: { 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off' } }
Workaround
For the moment I was able to remove the error adding the next line in the package json of vue-pivottable in the node_modules folder:
"exports": { ".": { "import": "./dist/vue-pivottable.mjs", "require": "./dist/vue-pivottable.umd.js" }, // I added this line "./dist/vue-pivottable.css": "./dist/vue-pivottable.css" },
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, when i'm trying to import the css file I get the next error.
Error:
These are my vue and vue-pivottable versions:
Also this is my eslint config file:
Workaround
For the moment I was able to remove the error adding the next line in the package json of vue-pivottable in the node_modules folder:
The text was updated successfully, but these errors were encountered: