Hello,
I’m developing a Vue.js project and I properly installed Handsontable using npm. Following the instructions described here, I was able to add a new table to my project (I’m using vue-handsontable-official with Handsontable Community Edition).
Now, I want to upgrade from the Handsontable Community Edition to Handsontable Pro, since I want to add a Gantt chart. Again, I followed these steps from the wiki, but the project does not compile:
These dependencies were not found:
* handsontable in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0&bustCache!./node_modules/vue-handsontable-official/src/HotTable.vue, ./node_modules/vue-handsontable-official/src/settingsMapper.js and 1 other
* -!../../css-loader/index.js?{"minimize":false,"sourceMap":false}!handsontable/dist/handsontable.full.css in ./node_modules/css-loader?{"minimize":false,"sourceMap":false}!./node_modules/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-76d0792c","scoped":false,"hasInlineConfig":false}!./node_modules/vue-loader/lib/selector.js?type=styles&index=0&bustCache!./node_modules/vue-handsontable-official/src/HotTable.vue
This happens when I add handsontable: path.resolve(__dirname, 'node_modules/handsontable-pro')
, on ‘webpack.base.conf’.
resolve: {
extensions: ['.js', '.vue', '.json'],
alias: {
handsontable: path.resolve(__dirname, 'node_modules/handsontable-pro'),
'vue$': 'vue/dist/vue.esm.js',
'@': resolve('src'),
}
},
What am I missing? How do I fix that issue?
Regards,
Pedro