Question(提问)
切换到i18n分支,npm run dev 的时候提示 Can't resolve 'pinyin'
问题复现步骤
- 切换到 i18n 分支
- npm run dev
- 提示
Failed to compile.
./src/components/HeaderSearch/index.vue?vue&type=script&lang=js& (./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/HeaderSearch/index.vue?vue&type=script&lang=js&)
Module not found: Error: Can't resolve 'pinyin' in 'admin_demo\src\components\HeaderSearch'
1条答案
按热度按时间mutmk8jj1#