Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 905 Bytes

parcel.md

File metadata and controls

44 lines (31 loc) · 905 Bytes

Parcel

Probably the easiest way to start experimenting with the library, is with Parcel.

If you're only interested in how to set things up with webpack, then feel free to skip ahead.

Installation

yarn add postcss-nested \
         postcss-media-minmax \
         @zeecoder/postcss-container-query --dev
# or
npm install postcss-nested \
            postcss-media-minmax \
            @zeecoder/postcss-container-query --save-dev

Setting up PostCSS

Add the following to a file named .postcssrc in your root directory.

{
  "plugins": {
    "postcss-nested": { "bubble": ["container"] },
    "postcss-media-minmax": {},
    "@zeecoder/postcss-container-query": {}
  }
}

And you're done! 🎉


◀️Getting Started

▶️ webpack

▶️ Gulp

▶️ React