Open sebastianroming opened 6 years ago
Hi,
please provide a reduced and ready to debug repo or sample, so that we can have chance to try to debug. I have no experience with Polymer though, so dunno. Are Polymer styles using PostCSS?
Polymer doesn't natively use PostCSS. I use the Polymer Skeleton from PolymerX and they use PostCSS.
I'll provide a short sample for you tomorrow.
I forked the Polymer Skeleton and created a small example for you:
https://github.com/sebastianroming/polymer-skeleton/tree/postcss-apply-sample
You need yarn
to install and run:
postcss-apply-sample
yarn
to install dependenciesyarn dev:module
to create a local development server at localhost:3000You can see that the app-drawer
doesn't get styled as defined in src/components/containers/sk-app/style.pcss
, but the span.account-name
does.
Hello there,
If I declare some styles like this:
it works pretty well. But if I use
like I should, with polymer elements (see app-drawer polymer 3 elem), it doesn't work. that's annoying :( Do you have any solution / help for this?