formio / vue

Javascript Powered forms and JSON form builder for Vue.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Cannot resolve module 'vue-style-loader!css'

TheBranches opened this issue · comments

After Basic Usage,occurs this Issue:

ERROR in .//formiojs/components/datagrid/DataGrid.js
Module not found: Error: Cannot resolve module 'vue-style-loader!css' in D:\vue-vuex-starter-kit-next\node_modules\formiojs\components\datagrid
@ ./
/formiojs/components/datagrid/DataGrid.js 138:12-43

ERROR in .//formiojs/WebformBuilder.js
Module not found: Error: Cannot resolve module 'vue-style-loader!css' in D:\vue-vuex-starter-kit-next\node_modules\formiojs
@ ./
/formiojs/WebformBuilder.js 152:12-43

WebformBuilder.js 152:12-43 && DataGrid.js 138:12-43 is same code:

var dragula;

if (typeof window !== 'undefined') {
// Import from "dist" because it would require and "global" would not be defined in Angular apps.
dragula = require('dragula/dist/dragula');
}

It could be caused by dragula,
Anyone know how to fix it ? Thank you !

The problem of vue-vuex-starter-kit