Comments (1)
I also experienced this issue.
However, such issue only occur when manually importing component.
export default defineNuxtConfig({
modules: ['@primevue/nuxt-module'],
primevue: {
components: {
include: [], // set to empty array to prevent registering all components
},
},
})
Here's what i've tried so far:
- manually import in Vue SFC script block
<script lang="ts"> import PButton from 'primevue/button' export default { components: { PButton, }, } </script>
- manually import in Vue SFC script setup block
<script setup lang="ts"> import PButton from 'primevue/button' </script>
- register components manually via module using
addComponent
export default defineNuxtModule({ setup() { addComponent({ filePath: 'primevue/button', name: 'PButton', }) }, })
- register components manually via plugin using
nuxtApp.vueApp.component()
import PButton from 'primevue/button' export default defineNuxtPlugin({ setup(nuxtApp) { nuxtApp.vueApp.component('PButton', PButton) }, })
- use
unplugin-vue-components
andprimevue-autoimport-resolver
to register used components automatically
All exhibits same behavior, that is CSS not server-rendered
from primevue.
Related Issues (20)
- Responsive on Tabs not working HOT 1
- Primevue not working with strictTemplates enabled HOT 2
- Select is not emitting the Escape keydown
- Tree: filter pt implementation defect
- ColorPicker: click on label does not open the color picker
- NumberInput: prefix/suffix breaks
- Drawer: Footer Div/Slot added by default
- Popover: Opacity is 0
- Nuxt import component: Prefix doesn't work HOT 6
- Stepper: Nested Components are re-mounted HOT 1
- Paginator: <button> IS NOT FOR LINKS
- TieredMenu: PassThrough `context.item` has not right MenuItem entry
- TabList: ripple warn when Ripple is not been registered.
- StepList and StepPanels: Different type than of Stepper, Step and StepPanel
- The typescript type definition have some problems. HOT 2
- Sidebar: In headless mode, the sidebar is not scrollable
- How can I append a DataTable filter overlay to any HTML element, excluding the default Protal value "body"?
- Paginator: v4 page buttons still have PrimeVue classes in unstyled mode
- Lara theme type HOT 1
- DataTable: Frozen Column Breaks Frozen RowSpan Column
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from primevue.