Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • May 24 20:14
    dependabot[bot] labeled #202
  • May 24 20:14
    dependabot[bot] opened #202
  • May 24 20:14

    dependabot[bot] on npm_and_yarn

    Bump browserslist from 4.16.3 t… (compare)

  • May 09 00:55
    dependabot[bot] labeled #201
  • May 09 00:55
    dependabot[bot] opened #201
  • May 09 00:55

    dependabot[bot] on npm_and_yarn

    Bump hosted-git-info from 2.8.8… (compare)

  • May 06 21:03
    dependabot[bot] labeled #200
  • May 06 21:03
    dependabot[bot] opened #200
  • May 06 21:03

    dependabot[bot] on npm_and_yarn

    Bump handlebars from 4.7.6 to 4… (compare)

  • May 06 19:31
    dependabot[bot] labeled #199
  • May 06 19:31
    dependabot[bot] opened #199
  • May 06 19:31

    dependabot[bot] on npm_and_yarn

    Bump lodash from 4.17.20 to 4.1… (compare)

  • Apr 19 15:31

    dependabot[bot] on npm_and_yarn

    (compare)

  • Apr 19 15:31

    tirthbodawala on master

    Bump ssri from 6.0.1 to 6.0.2 … Merge pull request #198 from At… (compare)

  • Apr 19 15:31
    tirthbodawala closed #198
  • Apr 19 15:18
    dependabot[bot] labeled #198
  • Apr 19 15:18
    dependabot[bot] opened #198
  • Apr 19 15:18

    dependabot[bot] on npm_and_yarn

    Bump ssri from 6.0.1 to 6.0.2 … (compare)

  • Mar 13 20:07
    jeffwilcox commented #196
  • Feb 13 09:06
    bryantobing12 commented #196
Siddhant Srivastav
@WickedBrat
Thanks
kompany-sde
@kompany-sde
Hi, I have been spending days trying to get react-pdf to work with the boilerplate but I can't seem to figure out how. Also it's not possible to import audio files. Please can someone help me? It'd be great to have a working demo with react-pdf https://github.com/wojtekmaj/react-pdf#standard-browserify-and-others
I know it's a big ask but really need some help on this :(
devoojs
@devoojs_twitter
Hi
kompany-sde
@kompany-sde
How do you render a script in the body tag using client.js/server.js?
Yash Thakur
@yash-thakur
@kompany-sde inside server.js -> https://github.com/Atyantik/react-pwa/blob/master/src/server.js#L24
serverHandler.hooks.beforeHtmlRender.tapPromise('LoadScriptInFooter', async (Application) => { Application.htmlProps.footer.push(<script id="footer-js" async key="js-at-footer" data-src="your url" />); });
kompany-sde
@kompany-sde
Is it necessary to apply the same tag in both files?
Thanks btw. It worked!
kompany-sde
@kompany-sde
it is a noscript tag
Also, how do I enable mp3 imports in the project? sorry for the many questions :/
Yash Thakur
@yash-thakur
You can create a new folder under public.
Eg: src>public>mp3>sample.mp3
Access it as: src= "/mp3/sample.mp3"
kompany-sde
@kompany-sde
I will give that a try, thanks :)
kompany-sde
@kompany-sde
Can someone help me configure babel with webpack ? https://github.com/ant-design/babel-plugin-import
kompany-sde
@kompany-sde
Basically, importing antd components imports the whole css file. How do I solve this issue with react-pwa?
kompany-sde
@kompany-sde
Really need help to minimise the bundle size before I go into production
Mayank Patel
@patelmayankce
Hey @tirthbodawala , i just identify one strange issue in pawjs., which hold me back to use it for our new projects & it loose my confidence to use it. Atyantik/pawjs#68 so can you plz check this?
Tirth Bodawala
@tirthbodawala
I saw the issue, it is related to@outdated workbox plugin
Let me update it.
Mayank Patel
@patelmayankce
Thanks @tirthbodawala i'll wait for the update to test. :thumbsup:
Mayank Patel
@patelmayankce
Hi @tirthbodawala , Do you get time to check on above issue?
kompany-sde
@kompany-sde
Is this project still worth using?
Tirth Bodawala
@tirthbodawala
Yes am still maintaining it
kompany-sde
@kompany-sde
Thank you!
Tirth Bodawala
@tirthbodawala
I am also working on v4 release that is 3 times faster and have reduced dependencies, along with latest updates of packages used
kompany-sde
@kompany-sde
That's amazing to hear! Looking forward to it
kompany-sde
@kompany-sde
@tirthbodawala Hi, do you know how I can get this plugin https://github.com/mzohaibqc/antd-theme-webpack-plugin/tree/master/examples/antd-init to work with the boilerplate?
Tirth Bodawala
@tirthbodawala
Sure. Give me a minute please
kompany-sde
@kompany-sde
Thanks!!! I am getting tapAsync is not defined after I tried installing it via the webpack.js file for the pwa https://github.com/mzohaibqc/antd-theme-webpack-plugin/blob/8bd23e9615fce38c08605fda4f5ff03d2338e26a/index.js#L39
I am guessing it is a configuration/compatibility issue.
kompany-sde
@kompany-sde
@tirthbodawala Please did you get a chance to look at it? Basically, I am trying to switch between dark mode and light mode with antd. Do you know how I can achieve this with the pwa?
Mayank Patel
@patelmayankce
hi @tirthbodawala
Is there any way in pawjs to set custom 500 error page ?
Tirth Bodawala
@tirthbodawala
Hi
Yes
From routrHandler you can use the function SerErrorPage
Mayank Patel
@patelmayankce
let me try
Mayank Patel
@patelmayankce
got it setErrorComponent
:thumbsup:
Tirth Bodawala
@tirthbodawala
Yup :)
Mayank Patel
@patelmayankce
Thanks Buddy :clap:
David L Mitchell
@dlmitchell81
Hi guys - does anyone know how to turn off hash routing to allow auth redirects with The MSAL React lib?
Tirth Bodawala
@tirthbodawala
Has Routing with ReactPWA?
*hash routing with ReactPWA?
David L Mitchell
@dlmitchell81
Hi @tirthbodawala yes. It seems the authenticated redirect uri fails due to the hash unless mistaken
kompany-sde
@kompany-sde
Hi @tirthbodawala, do you know how I can use the pwa with antd dark and normal theme?
David L Mitchell
@dlmitchell81
@tirthbodawala apologies. There’s an env variable called USE_HASHED_ROUTES that was omitted from the repo I’m collaborating on and so defaulted to true
Mayur Patel
@pmayur25
Hi @tirthbodawala , Can you correct charset in meta in paw JS?
As of now "charSet" need to like this "charset"