Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Dec 05 00:04

    greenkeeper[bot] on @types

    (compare)

  • Dec 05 00:02

    greenkeeper[bot] on @types

    chore(package): update @types/r… chore(package): update lockfile… (compare)

  • Dec 04 14:07

    greenkeeper[bot] on @pawjs

    (compare)

  • Dec 04 14:06

    greenkeeper[bot] on @pawjs

    chore(package): update @pawjs/s… chore(package): update lockfile… (compare)

  • Dec 02 19:14

    greenkeeper[bot] on @types

    (compare)

  • Dec 02 19:11

    greenkeeper[bot] on @types

    chore(package): update @types/r… chore(package): update lockfile… (compare)

  • Nov 27 13:18

    tirthbodawala on master

    comment util.scss from client.j… Merge pull request #162 from pa… (compare)

  • Nov 27 13:18
    tirthbodawala closed #162
  • Nov 27 13:16
    patelmayankce opened #162
  • Nov 27 10:18

    tirthbodawala on master

    Upgrade to pawjs alpha.23 (compare)

  • Nov 26 16:17

    tirthbodawala on v2.2.7

    (compare)

  • Nov 26 16:17

    tirthbodawala on master

    2.2.7 (compare)

  • Nov 26 16:17

    tirthbodawala on master

    Update tsconfig for typescript … (compare)

  • Nov 26 16:07

    tirthbodawala on master

    Add demo and prod .env respecti… (compare)

  • Nov 26 14:19

    tirthbodawala on v2.2.6

    (compare)

  • Nov 26 14:19

    tirthbodawala on master

    2.2.6 (compare)

  • Nov 26 14:15

    tirthbodawala on master

    Change from pawconfig.json to .… (compare)

  • Nov 26 14:05

    greenkeeper[bot] on snyk-1.195.0

    (compare)

  • Nov 26 14:05

    greenkeeper[bot] on fork-ts-checker-webpack-plugin-3.1.1

    (compare)

  • Nov 26 14:05
    greenkeeper[bot] closed #161
Tirth Bodawala
@tirthbodawala
Is the entry point in config in webpack?
Yash Thakur
@yash-thakur
as Tailwind is loaded as
import './resources/css/global.css'in client.js
Tirth Bodawala
@tirthbodawala
Ok & material ?
Yash Thakur
@yash-thakur

before render it is being injected using JSS provider and
on render complete jssStyles are removed.

I am using the examples that we have in the repos.

The tailwind css comes in client but it is getting overrided by the Material UI CSS.
i want the reverse of it.
Tirth Bodawala
@tirthbodawala
There is a hook, afterRenderComplete
You can use that to add tailwind css
Yash Thakur
@yash-thakur
there seems to be only renderComplete hook. And that is the 1 I suppose.
Tirth Bodawala
@tirthbodawala
yes.
Sorry, that one. :)
so on that hook you can simply call
clientHandler.hooks.renderComplete.tap('AddTailwind', () => import('./global/tailwind.css'));
Something on that line.
Yash Thakur
@yash-thakur
Working (y) Thanks
Tirth Bodawala
@tirthbodawala
No problem. @yash-thakur we launched @pawjs/pawjs v3.0.0-beta2
Please give it a try and share your reviews on performance improvements :)
Yash Thakur
@yash-thakur
At the moment the version I am using is @pawjs/pawjs@3.0.0-alpha.23
Tirth Bodawala
@tirthbodawala
You can upgrade to beta
Much stable and better
Yash Thakur
@yash-thakur
Ok doing it.
Yash Thakur
@yash-thakur

"You may need an additional loader to handle the result of these loaders."

For SrcSet different sizes

Tirth Bodawala
@tirthbodawala
@uyas
@yash-thakur so something broke?
You may need to update other libraries as well.
Yash Thakur
@yash-thakur
Yes updating to beta the Srcset broke.
Tirth Bodawala
@tirthbodawala
Try to check by npm outdated
cause we updated that as well.
Yash Thakur
@yash-thakur
Updated all the packages and on beta.2 of pawjs still its breaking
Tirth Bodawala
@tirthbodawala
Ohh.. send me the details please.
Yash Thakur
@yash-thakur
image.png
Tirth Bodawala
@tirthbodawala

hmmm.. Interesting! @yash-thakur can you please help me with one last thing?

  1. Remove node_modules
  2. remove package-lock.json
  3. npm i

then run please.

Yash Thakur
@yash-thakur
Its giving the same error after following above steps.
I have taken the demo.reactpwa.com code and I am making changes to the files in it.
Tirth Bodawala
@tirthbodawala
Let me check that. I tested it last time it worked.
Might be upgrading file-loader latest version would have stopped it.
Yash Thakur
@yash-thakur
Yes seems so as the error says that you need an additional loader to handle it.
jorgelopezowd
@jorgelopezowd
@/all some body knows how to implement this for my product page... https://developers.google.com/search/docs/guides/intro-structured-data, I need insert this content for my product page, I m loading data inside loadData method, I think that the best way is on server.js, but I dont know how to get loadedData from there
Yash Thakur
@yash-thakur
You can use the meta tags
Tirth Bodawala
@tirthbodawala
@jorgelopezowd you can use loadData to load data beforehand and can use script tag inside component to represent structured data.
Please let me know if you are still confused or need a tutorial, I can help you with that.
Yash Thakur
@yash-thakur
Also @tirthbodawala I think so the local CSS is not working for the latest release, Kindly check.
Tirth Bodawala
@tirthbodawala
In the demo?
I mistakenly deleted util.scss :( thus the issue, the css is working fine, there is wrong delete in the repo... @yash-thakur
Yash Thakur
@yash-thakur
In the demo it is working. But after I upgraded to the latest version (beta) the local css did not give hashed class.
jorgelopezowd
@jorgelopezowd
@tirthbodawala but how I can send the params ? can you help me ? please
Tirth Bodawala
@tirthbodawala
@jorgelopezowd sure I can help you out
Want to schedule a meeting? Skype or TeamViewer?
PS: @yash-thakur checking it right now.
jorgelopezowd
@jorgelopezowd
@tirthbodawala I just need a example how to send script params for this https://developers.google.com/search/docs/guides/intro-structured-data, I know how how to set meta data and seo title.
jorgelopezowd
@jorgelopezowd
image.png
@tirthbodawala this is my code