primevue

Webpack Build Error: Can't resolve subcomponents within a PrimeVue UI component

落花浮王杯 提交于 2020-08-10 22:52:49
问题 I am unable to build certain PrimeVue UI components with webpack. I have tried several components, and all the basic ones work fine, but as soon as I try and use a component that requires a sub-component, webpack fails to build. I experienced this so far with the Breadcrumb and PanelMenu components. The error is: ERROR in ./node_modules/primevue/components/panelmenu/PanelMenu.vue?vue&type=script&lang=js& (./node_modules/vue-loader/lib??vue-loader-options!./node_modules/primevue/components

Webpack Build Error: Can't resolve subcomponents within a PrimeVue UI component

这一生的挚爱 提交于 2020-08-10 22:48:31
问题 I am unable to build certain PrimeVue UI components with webpack. I have tried several components, and all the basic ones work fine, but as soon as I try and use a component that requires a sub-component, webpack fails to build. I experienced this so far with the Breadcrumb and PanelMenu components. The error is: ERROR in ./node_modules/primevue/components/panelmenu/PanelMenu.vue?vue&type=script&lang=js& (./node_modules/vue-loader/lib??vue-loader-options!./node_modules/primevue/components

Webpack Vue component with css <style> tags fails to build with Module parse failed: Unexpected token

北慕城南 提交于 2020-07-10 07:00:09
问题 Starting with a clean vue project, I was having issues building .vue components from PrimeVue. These are ready made components and should really not fail to build. Everytime I try to build, it fails to do so, and seems to fail with the line pointer at the start of the CSS styles. ERROR in ./node_modules/primevue/components/slider/Slider.vue?vue&type=style&index=0&lang=css& (./node_modules/vue-loader/lib??vue-loader-options!./node_modules/primevue/components/slider/Slider.vue?vue&type=style