Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Layout using VueJs #592

Open
cydrickn opened this issue Mar 29, 2023 · 2 comments
Open

Layout using VueJs #592

cydrickn opened this issue Mar 29, 2023 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed in-review The item is currently being reviewed. workaround-available A workaround for the issue is available.
Milestone

Comments

@cydrickn
Copy link

New Feature Proposal

For more information, see the CONTRIBUTING guide.

Description

Is there a way to use VueJs as the layout for piral

Background

Currently are team is planning to use vuejs, and we are looking to use piral. And due to that we also want to use Vuejs for the Layout instead of react.

Discussion

@cydrickn cydrickn added the enhancement New feature or request label Mar 29, 2023
@FlorianRappl
Copy link
Contributor

Right now the app shell is made using React. In this mode your options are:

  • Use distributed layouts (by putting the layout elements in a pilet and referencing those via extensions, see https://github.com/piral-samples/piral-distributed-layout)
  • Use the piral-page-layouts plugin to enable page layouts - making the initial layout rather empty and then specifying your layout(s) in Vue

In general we are thinking about making the app shell actually configurable such that you can use whatever framework you like (as long as there would be an adapter, which is something different from a converter).

For this to happen we would need to invest in development of the adapter architecture, converting the existing code into the React adapter and making a new adapter for Vue.

For us, this is at the moment a quite low prio as (besides you) no one we know of would use it. If that work would be supported (either by a sponsorship or by source code contributions) then it would be doable. Otherwise, the two options listed above need to be sufficient.

@FlorianRappl FlorianRappl added help wanted Extra attention is needed in-review The item is currently being reviewed. workaround-available A workaround for the issue is available. labels Mar 30, 2023
@Alessandroinfo
Copy link

It will be interesting about making the piral instance layouting framework independent.

@FlorianRappl FlorianRappl added this to the 2.0.0 milestone Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed in-review The item is currently being reviewed. workaround-available A workaround for the issue is available.
Projects
None yet
Development

No branches or pull requests

3 participants