vue-easytable icon indicating copy to clipboard operation
vue-easytable copied to clipboard

Nuxt 3 implementation

Open BITRU opened this issue 3 years ago • 1 comments
trafficstars

Trying to implement this package in Nuxt 3. Maby someone has it working or need to implement because Nuxt 3 is getting popular now.

Steeps done, plugins/vue-easytable.client.ts - if not .client will fail

import VueEasytable from 'vue-easytable'
export default defineNuxtPlugin((nuxtApp) => {
  nuxtApp.vueApp.use(VueEasytable)
})
defineNuxtConfig({ 
vite: { optimizeDeps: { include: ['vue-easytable',],},},
})

This will start app. But on page there is error

<template> <ve-table :columns="columns" :table-data="tableData" /> </template>

Vue warn]: Failed to resolve component: ve-table If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.

Any Idea how to make it working?

BITRU avatar Jul 30 '22 13:07 BITRU

I have the same problem, it doesn't work with Nuxt3

DrZell avatar Oct 24 '22 08:10 DrZell