0.1.0 • Published 6 years ago
laravel-mix-emotion v0.1.0
laravel-mix-emotion
Zero-config Laravel Mix extension that enables Emotion styled components.
Installation
yarn add -D laravel-mix-emotionAdd
require('laravel-mix-emotion')to yourwebpack.mix.jsconfig file. Initialize usingmix.emotion().
Options
laravel-mix-emotion takes a single (optional) config param passed when initializing the extension: emotionFormat. This allows you to specify formatting instructions for Emotion generated classnames.
mix.emotion({
emotionFormat: '[local]',
})0.1.0
6 years ago