1. Install Dust.js dependency
Web 3.0 supports multiple template engines. As a consequence, Dust.js is now decoupled from core and needs to be included as a dependency on projects that want to use it.
npm install @dadi/web-dustjs --save
Get include-media here.
If you're using include-media to manage your breakpoints, you might want to have it generate media queries in
em units but still declare the breakpoints in
px for convenience.
We decided not to add this to the library core, as it's outside the scope of the project, but you can achieve that with a tiny function: