I came across a problem installing vueJS with ant-design and after reboot of serve it gave below error:
Error: Cannot find module 'babel-plugin-import' from xxx
My steps were:
- Install vueJS project via
vue ui
- Install dependencies for ant-design via
vue ui
- Rerun the server
It turns out the
ant-design
install does overwrite somebabel-import-plugin
values.I could resolve it by install of
babel-import-plugin
again after I did the install ofant-design
.