Falla usando componentes

UI Components for Vue
Post Reply
cgaray
Posts: 2
Joined: 29 Jun 2020, 17:52

29 Jun 2020, 18:40

Hello!

I tried using primeVue on a new project that I want to run, but at the time of including the components as mentioned in the documentation:

import DataTable from "primevue / datatable";
Import column from "primevue / column";

Vue.component ("DataTable", DataTable);
Vue.component ("Column", Column);


When I run the application, I receive an error message that the library does not exist and I must install it with the following command:

npm install --save primevue / datatable

When you run the command, it tells me that the repository does not exist, can you help me detect the problem?

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

04 Jul 2020, 10:27

Hola,

En vez de

Code: Select all

npm install --save primevue/megamenu
Debe ser,

Code: Select all

npm install --save primevue

Post Reply

Return to “PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 12 guests