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..

It worked well, without passing data from indexcontroller to twig. Looks like passing data to twig f

13Β»

Comments

  • UPWG882P6
    UPWG882P6 Posts: 140 πŸ§‘πŸ»β€πŸš€ - Cadet

    Yes, I got page not found

  • U01AM1YGRC2
    U01AM1YGRC2 Posts: 71 πŸ§‘πŸ»β€πŸš€ - Cadet

    I changed the rout path

  • U01AM1YGRC2
    U01AM1YGRC2 Posts: 71 πŸ§‘πŸ»β€πŸš€ - Cadet

    try calling url/hello-world-test instead of /hello-world

  • UPWG882P6
    UPWG882P6 Posts: 140 πŸ§‘πŸ»β€πŸš€ - Cadet

    same error.. no change

  • U01AM1YGRC2
    U01AM1YGRC2 Posts: 71 πŸ§‘πŸ»β€πŸš€ - Cadet

    ^^ and you have this already in your code HelloWorldRouteProviderPlugin.php -->

    ...
    $route = $this->buildRoute('/hello-world-test', 'HelloWorld', 'Index', 'indexAction');
    ... 
    
  • UPWG882P6
    UPWG882P6 Posts: 140 πŸ§‘πŸ»β€πŸš€ - Cadet

    yes

  • U01AM1YGRC2
    U01AM1YGRC2 Posts: 71 πŸ§‘πŸ»β€πŸš€ - Cadet

    do you executed that npm run yves:watch ? (not really sure if it’s necessary πŸ˜„ )

  • UPWG882P6
    UPWG882P6 Posts: 140 πŸ§‘πŸ»β€πŸš€ - Cadet

    yes, i did, ur right its not necessary

  • npm is not required here at all πŸ˜‰

  • U01AM1YGRC2
    U01AM1YGRC2 Posts: 71 πŸ§‘πŸ»β€πŸš€ - Cadet

    and you added the provider like I did (see my comment above): src/Pyz/Yves/Router/RouterDependencyProvider.php

  • U01AM1YGRC2
    U01AM1YGRC2 Posts: 71 πŸ§‘πŸ»β€πŸš€ - Cadet

    @UJN2JRU4F I keep running yves:watch every time so πŸ€·β€β™‚οΈ

  • U01AM1YGRC2
    U01AM1YGRC2 Posts: 71 πŸ§‘πŸ»β€πŸš€ - Cadet

    @UPWG882P6 if we have the same code base, which Spryker version do you have? Maybe it’s a hard caching with vagrant IDK

  • UPWG882P6
    UPWG882P6 Posts: 140 πŸ§‘πŸ»β€πŸš€ - Cadet

    how to check it?

  • U01AM1YGRC2
    U01AM1YGRC2 Posts: 71 πŸ§‘πŸ»β€πŸš€ - Cadet

    Do you have a composer.json in your project?

  • UPWG882P6
    UPWG882P6 Posts: 140 πŸ§‘πŸ»β€πŸš€ - Cadet

    its latest i think 202009.0

  • UPWG882P6
    UPWG882P6 Posts: 140 πŸ§‘πŸ»β€πŸš€ - Cadet

    yes i have

  • U01AM1YGRC2
    U01AM1YGRC2 Posts: 71 πŸ§‘πŸ»β€πŸš€ - Cadet

    Ah okay, so we are at the same (I’m using b2b development with macOS + Docker)

  • U01AM1YGRC2
    U01AM1YGRC2 Posts: 71 πŸ§‘πŸ»β€πŸš€ - Cadet
    edited September 2020

    Would be great we have another developer who’s using vagrantπŸ˜ͺ