I was playing with Visual Studio 2017, and tried the following:
- New empty Web Project
- using npm, get React, React DOM, their respective d.ts and office-ui-fabric-react
- structure of the project
- In Hello.tsx I have the following code which just imports the PrimaryButton component from office-ui-fabric tries to use it.
It should be a pretty straight forward thing to do, but for some reason it doesn't work.
Any idea why I am getting that error? What am I doing wrong?
via mdaniel
No comments:
Post a Comment