Vue.js as frontend?

Added by Christian Schnabl about 1 month ago

Hi there,

i know this is the core development track, but i think its the right place to ask this question.
I was building custom redmine theme components for quite a while now - also integrated some react components.
But concerning the overall architecture of redmine i wonder if there is a clean way to integrate vue.js as a frontend framework handling main components.

I know that the rest api does of course not support everything, but based on the rails framework and the current state of redmine -

Do you think there is any kind of clean interfacing to connect vue.js with redmine ?

Best,
Chris

Replies (2)

RE: Vue.js as frontend? - Added by Bernhard Rohloff 2 days ago

I don't know if this is a hot topic anymore, but Akiko has some vue.js integration in her plugin so perhaps she can ask your questions.

Kind regards,

Bernhard

RE: Vue.js as frontend? - Added by Akiko Takano about 7 hours ago

Hi, Bernhard.
Thanks for the above reply.

As Bernhard mentioned, the latest version of my plugin is trying to apply Vue.js partially to create an issue template with custom fields setting.
Since Redmine does not use Vue.js's library but jQuery, I added the vue.min.js in my plugin's assets.

Please note, I'm not a skilled front-end engineer and my plugin's implementation is quite rough.
So that Vue / JavaScript code is not so complexed. Sorry I could not give you any good suggestions.....

Here is the place that using Vue and related JS. I hope this would be of any help.

(1-2/2)