Skip to content

Instantly share code, notes, and snippets.

@haustraliaer
Last active January 9, 2016 06:06
Show Gist options
  • Save haustraliaer/abcd6c9e36f21cb84182 to your computer and use it in GitHub Desktop.
Save haustraliaer/abcd6c9e36f21cb84182 to your computer and use it in GitHub Desktop.
porque no los dos?
import React from 'react'
import delicious from './yu.m.css'
import ew from './gross.css'
export default React.createClass({
render() {
return (
<div className={`hard-tacos ${delicious['soft-tacos']}`}>yaaaaaayyyy!</div>
)
}
})
export default {
loaders: [
{
include: /\.m.css$/,
loader: 'style-loader!css-loader?modules&importLoaders=1&localIdentName=[local]__[hash:base64:5]'
},
{
include: /\.css$/,
loader: 'style-loader!css-loader'
},
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment