Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

postcss issue #5

Closed
smartapant opened this issue Oct 27, 2017 · 1 comment
Closed

postcss issue #5

smartapant opened this issue Oct 27, 2017 · 1 comment

Comments

@smartapant
Copy link

Hi!

I'm trying to use postcss theming like it's done here https://github.com/OnsenUI/vue-onsenui-kitchensink

The problem - postcss seem not to work as i'm getting not all of the Onsen's styles (especially @apply doesn't work)

Could you please point out what shall i change in webpack to make it work?

@frandiox
Copy link

@smartapant Did you manage to do it in the end? apply spec is now deprecated so it will be remove from postcss-cssnext after version 3, but it should be fine until that version. Maybe you can try postcss-apply. In any case, you can simply use the theme previewer that you have in node_modules/onsenui/css-components-src/ to generate your custom theme. There is a guide here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants