Homepage
Sign in / Sign up
  • Share
Go to the profile of Daniel Berndt
Never miss a story from Daniel Berndt, when you sign up for Medium. Learn more
Never miss a story from Daniel Berndt
Go to the profile of Daniel Berndt
Daniel Berndt
Did Computer Linguistics. Doing Web-Development.
Feb 5, 2016
Fixing annoying imports in React Projects
Phil Plückthun
765

Have a look at this paragraph here: https://gist.github.com/ryanflorence/daafb1e3cb8ad740b346#shared-module-resolution

it uses webpack’s *modulesDirectories* to allow importing your components like this: *import Avatar from “components/Avatar”*

  • Go to the profile of Daniel Berndt

    Daniel Berndt

    Did Computer Linguistics. Doing Web-Development.