import styled from 'styled-components'; ?
zirho opened this issue · comments
Hi there,
I was trying to figure out how I can do
import styled from 'styled-components';
I tried many ways and could not figure it out.
aliases: {
styled: 'styled-components',
},
Please help.
Thanks!
You have to use styled: 'node_modules/styled-components'
. The docs could definitely be clearer on this, as I wrestled with this myself a couple weeks ago.
thank you!