What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hello everyone, does anyone have any experience getting Vue to work with Spryker? I followed the ins

ULW0Z4150
ULW0Z4150 Posts: 69 πŸ§‘πŸ»β€πŸš€ - Cadet
edited December 2019 in Help

Hello everyone,
does anyone have any experience getting Vue to work with Spryker?
I followed the instructions to install React and it worked perfectly. But when trying to get Vue to work following the same procedure I am not getting any results. This is the documentation I followed https://documentation.spryker.com/front-end_developer_guide/yves/integrating-react-into-atomic-frontend-201907.htm

Comments

  • UK5DS29L2
    UK5DS29L2 Posts: 546 πŸ§‘πŸ»β€πŸš€ - Cadet

    @ULW0Z4150 are you by chance trying to use vuestorefront?

  • ULW0Z4150
    ULW0Z4150 Posts: 69 πŸ§‘πŸ»β€πŸš€ - Cadet

    No I just tried installing vue via npm and then getting a basic program to work

  • we had christmas party yesterday, so the answer might come a little later today. but i know for sure that att least @UKHD8KTMF and @UKJSE6T47 worked on projects that used Vue. of course, that does not mean they have any clue on how to set this up! πŸ˜„

  • UKHD8KTMF
    UKHD8KTMF Posts: 393 πŸ§‘πŸ»β€πŸš€ - Cadet

    Have no idea what was done to set it up, sorry. As far as I remember frontend guys had no issues with it.

  • UKHD8KTMF
    UKHD8KTMF Posts: 393 πŸ§‘πŸ»β€πŸš€ - Cadet

    Maybe someone from TK can share some insights.

  • ULYHEM6M7
    ULYHEM6M7 Posts: 13 πŸ§‘πŸ»β€πŸš€ - Cadet

    HI David. We integrated by ourselves in the project and use twig as a datalayer where we push data to vue stores.

  • ULYHEM6M7
    ULYHEM6M7 Posts: 13 πŸ§‘πŸ»β€πŸš€ - Cadet

    So it is totally decoupled from spryker itself

  • ULW0Z4150
    ULW0Z4150 Posts: 69 πŸ§‘πŸ»β€πŸš€ - Cadet

    Interesting. Any reason why you didn’t get the data over glue? Did you have any issues with user authorization?

  • UKHD8KTMF
    UKHD8KTMF Posts: 393 πŸ§‘πŸ»β€πŸš€ - Cadet

    If you want to have a modern JS but not want to go fully into SPA

  • Andriy Netseplyayev
    Andriy Netseplyayev Domain Lead Solution Architecture Sprykee Posts: 519 πŸ§‘πŸ»β€πŸš€ - Cadet

    @ULW0Z4150 at the moment the project has started, there was no glue yet, that’s why we had to introduce our solution

  • UKHD8KTMF
    UKHD8KTMF Posts: 393 πŸ§‘πŸ»β€πŸš€ - Cadet

    and maybe you just want some Vue.js components and not migrate everything. It really depends on the needs that you have.

  • ULYHEM6M7
    ULYHEM6M7 Posts: 13 πŸ§‘πŸ»β€πŸš€ - Cadet

    When we started we didn’t have glue. That’s why we went with twig as datalayer