iview-cli
iview-cli copied to clipboard
Build errors and missing documentation
I've been trying to create a project using the cli tool in a Windows 10 environment and have been running into a range of issues. I'll list the ones I've noticed. Please tell me if I am doing something wrong.
- It is not documented anywhere that you should first run
npm run initbefore runningnpm run dev - After running
npm installyou get the errorModule not found: Error: Can't resolve 'iview-loader'when trying to runnpm run initso I'm guess theres missing packages in the package.json file. - After installing the missing packages you get this error
Module not found: Error: Can't resolve 'less-loader'it seems like the cli tool doesnt properly generate the webpack config files for sass.