Skip to content

Nuxt 3 implementation #497

Open
Open
@BITRU

Description

@BITRU

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions