You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm building some Vue component libraries using vue-bulma as an example and I'm trying to work out how to test the libraries using npm link. I expected that this would work with the vue-admin app but npm run dev fails after using npm link.
In vue-bulma-notification:
npm link
In vue-admin:
npm i
npm link vue-bulma-notification
npm run dev
ERROR in ../notification/src/Notification.vue
Module not found: Error: Can't resolve 'vue-style-loader' in '/Users/nathan/Code/vue-bulma/notification/src'
@ ../notification/src/Notification.vue 3:0-280
@ ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./client/views/components/Notification.vue
@ ./client/views/components/Notification.vue
@ ./client/views lazy ^\.\/.*\.vue$
@ ./client/store/modules/menu/lazyLoading.js
@ ./client/store/modules/menu/index.js
@ ./client/store/index.js
@ ./client/app.js
@ ./client/index.js
@ multi ./build/dev-client ./client/index.js
The npm run dev command works fine for me when there are no linked dependencies. Do you have any hints on how to develop and test Vue modules using npm link?
The text was updated successfully, but these errors were encountered:
@649197313 Yes I ditched Bulma and moved to Bootstrap with no regrets. I'm still having occasional issues with npm link when testing changes to frontend libraries. I am planning on looking at Wml to address those issues: https://github.com/wix/wml.
I'm building some Vue component libraries using vue-bulma as an example and I'm trying to work out how to test the libraries using
npm link
. I expected that this would work with the vue-admin app butnpm run dev
fails after usingnpm link
.In vue-bulma-notification:
In vue-admin:
The
npm run dev
command works fine for me when there are no linked dependencies. Do you have any hints on how to develop and test Vue modules usingnpm link
?The text was updated successfully, but these errors were encountered: