Page 1 of 1

Falla usando componentes

Posted: 29 Jun 2020, 18:40
by cgaray

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?

Re: Falla usando componentes

Posted: 04 Jul 2020, 10:27
by cagatay.civici

En vez de

Code: Select all

npm install --save primevue/megamenu
Debe ser,

Code: Select all

npm install --save primevue