primevue icon indicating copy to clipboard operation
primevue copied to clipboard

Unable to get datatable working using cdn

Open rdksgit opened this issue 1 year ago • 3 comments

Describe the bug

First of all thanks for the most amazing components library, well done

I am trying to get the datatable working using cdn, however it comes up with

vue.global.js:1612 [Vue warn]: Failed to resolve component: datatable If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement. at <App> vue.global.js:1612 [Vue warn]: Component is missing template or render function. at <Column key=1 field="User A" header="User A" > at <App>

I am using primevue 3.48.1.

Apologies in advance if the bug report is not descriptive enough, i am very new to Vue :) Thanks Sameer

Reproducer

test

PrimeVue version

3.48.1

Vue version

3.x

Language

ALL

Build / Runtime

Vue CLI App

Browser(s)

No response

Steps to reproduce the behavior

<div class="col-md-4" >
 

List of Users belonging to X

Expected behavior

It should show the datatable rendered

rdksgit avatar Feb 13 '24 02:02 rdksgit

This example seems to be working https://stackblitz.com/edit/web-platform-myeckg?file=index.html. How can I replicate the issue?

tugcekucukoglu avatar Feb 19 '24 08:02 tugcekucukoglu

We're unable to replicate your issue, if you are able to create a reproducer or add details please edit this issue. This issue will be closed if no activities in 20 days.

github-actions[bot] avatar Feb 19 '24 08:02 github-actions[bot]

In CDN mode the row edit is not working, you can try to build it in the above stackblitz page, the edit pencil icon at end of the row does not show up.

sudipmandal avatar Feb 22 '24 06:02 sudipmandal