Closed Skavengerr closed 3 years ago
Hi @Skavengerr. Thank you for your report. To help us process this issue please make sure that you provided sufficient information.
Please, add a comment to assign the issue: @magento I am working on this
You can edit manifest.json on path: packages/venia-ui/venia-static/manifest.json
@huykon Yeah, but it's in a node_modules and if I reinstall them I have to edit again
no. This file not in path of node_modules
@huykon I created a project with 'yarn create @magento/pwa' and after installing the project I have this structure
@Skavengerr One idea - clone venia-static
to a new folder in your project root and update your upward.yml
to route to a different static folder instead of venia-static
. That might work. I might be missing something but I would have thought it'd be easy to modify the manifest after scaffolding. @revanth0212 you've got some experience around this directory/upward. Any thoughts?
Theoretically, the workaround that @sirugh suggested should work, since we are adding a new manifest.json
file to the project and the new scaffolded app's template.html
has a link mentioned this way <link rel="manifest" href="/manifest.json">
.
That said, I will create a ticket in our backlog to make the scaffold logic to eject a manifest.json file during the creation process. Not sure why we are not ejecting one, maybe @zetlen knows.
Hello, @Skavengerr I have created an internal ticket on our backlog to investigate the issue. Thank you for your question, please let us know if the workaround that @sirugh suggested works.
@revanth0212 @sirugh Thank's a lot, I will try it. Could you provide an example of updated upward.yml?
Hello, now when i opening my manifest in builded project i see that one I tried adding mine in the root of the project, but nothing worked. So how can I edit my manifest?