Module not found when using flat-ui with webpack

260 Views Asked by At

I want to use flat-ui with webpack when installed with npm. I have created a test project. The last commit is before installing flat-ui. When I do install and use

require('flat-ui');

I get the error:

Module not found: Error: Cannot resolve module 'flat-ui'

In my research I found this gist but am not familiar enough with webpack to understand it well enough.

My goal is to use npm to install dependencies rather than clutter up my project.

1

There are 1 best solutions below

0
On BEST ANSWER

'flat-ui' npm package is not official package. This package provides old version. ( issue )

You need to install 'designmodo-flat-ui' package.