evrone / postcss-px-to-viewport

A plugin for PostCSS that generates viewport units (vw, vh, vmin, vmax) from pixel units. The best choice to create a scalable interface on different displays by one design size.
https://evrone.com/postcss-px-viewport
MIT License
3k stars 405 forks source link

how can i use this with vue-cli3.0 #13

Closed tihssiefiL closed 5 years ago

moonou commented 5 years ago
  1. npm or yarn to install
  2. change postcss.config.js
    module.exports = {
    plugins: {
    ...
    'postcss-px-to-viewport': {
      // options
    }
    }
    }
chernobelenkiy commented 5 years ago

@moonou thanks, we've added this information to our readme.md file. Since there are no more questions, I close this issue.