The documentation is not correct for the diamond-vue theme?

Forum rules
Please note that response time for technical support is within 3-5 business days.
User avatar
bjorntj
Posts: 277
Joined: 30 Jul 2010, 10:46

30 Mar 2021, 13:36

When I have project already that I will add diamond-vue to, there is a howto in the documentation. But this is not correct... Several files to be copied are missing in the documentaion. The same with needed dependencies.
And I still haven't been able to compile the project after including diamon-vue.. At the moment, it fails with

Code: Select all

 ERROR  Failed to compile with 1 error                                                                                                                                                                                                                                                                          1:35:46 PM

This relative module was not found:

* ./event-bus in ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/App.vue?vue&type=script&lang=js
Please fix the documentation....
PrimeFaces 11.x | PrimeVue 3.x | Spring Boot 2.7.x | Undertow | Mojarra 2.3.x
Mac OS, Firefox and Chromium

tugce.kucukoglu
Posts: 560
Joined: 23 Oct 2020, 09:28

06 Apr 2021, 09:27

Hi,

Diamond 3.1.0 uses PrimeVue 3.3.3+ . Please make sure that you're using right version.

Best Regards

User avatar
bjorntj
Posts: 277
Joined: 30 Jul 2010, 10:46

06 Apr 2021, 10:15

Of course I am using PrimeVue 3.3.3+... I am using 3.3.5....
PrimeFaces 11.x | PrimeVue 3.x | Spring Boot 2.7.x | Undertow | Mojarra 2.3.x
Mac OS, Firefox and Chromium

merve7
Posts: 861
Joined: 12 Sep 2017, 10:44

30 Apr 2021, 22:03

Hi,
Did you try to remove package-lock.json file and install it again? When this file is out of date, it sometimes causes problems.

User avatar
bjorntj
Posts: 277
Joined: 30 Jul 2010, 10:46

06 May 2021, 14:28

No, but there should not be any need for that.. I had a project I added the needed dependencies to, following the documentation.. Hence the documentation is wrong..
But I also got tired of not getting any support from PrimeTek, not even for themes that one has bought, so I moved on.....


BTJ
PrimeFaces 11.x | PrimeVue 3.x | Spring Boot 2.7.x | Undertow | Mojarra 2.3.x
Mac OS, Firefox and Chromium

tugce.kucukoglu
Posts: 560
Joined: 23 Oct 2020, 09:28

07 May 2021, 07:59

Which documentation did you find wrong? Please feel free to ask your questions and when you find a bug or defect, you could create a ticket.

User avatar
bjorntj
Posts: 277
Joined: 30 Jul 2010, 10:46

07 May 2021, 09:58

Did you read my initial post??
PrimeFaces 11.x | PrimeVue 3.x | Spring Boot 2.7.x | Undertow | Mojarra 2.3.x
Mac OS, Firefox and Chromium

tugce.kucukoglu
Posts: 560
Joined: 23 Oct 2020, 09:28

07 May 2021, 14:34

Did you add src/event-bus.js to your project?

Code: Select all

import {EventBus} from 'primevue/utils';
export default EventBus();

User avatar
bjorntj
Posts: 277
Joined: 30 Jul 2010, 10:46

07 May 2021, 15:25

No, that is not documented, like many other things I discovered myself, hence these posts.......
PrimeFaces 11.x | PrimeVue 3.x | Spring Boot 2.7.x | Undertow | Mojarra 2.3.x
Mac OS, Firefox and Chromium

User avatar
bjorntj
Posts: 277
Joined: 30 Jul 2010, 10:46

07 May 2021, 15:33

The documentation here: http://primefaces.org/diamond-vue/#/documentation, has a section called "Integration with an Existing CLI Project", with very few steps.
I.e. a lot of steps are missing!
PrimeFaces 11.x | PrimeVue 3.x | Spring Boot 2.7.x | Undertow | Mojarra 2.3.x
Mac OS, Firefox and Chromium

Post Reply

Return to “Diamond - PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests