Skip to content

Use the library without npm install. #10

@5minpause

Description

@5minpause

Hi.
First: Thanks for your work, this is a great library.

My question: I enhanced my local fork (see #9) and would like to try it on my project. Because of my changes I can’t use the npm-install version of react-draggable. I am new to React and friends and am stuck getting draggable into my project. I tried to include the draggable.js and the main.js the traditional way. The actual error message is Uncaught ReferenceError: require is not defined caused by this line var React = require('react/addons');.
Any idea on how I can proceed?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions