title: Uncaught ReferenceError: Component not defined in Meteor
body: <p>I'm trying to display my Deal component but I keep getting this error below.</p>
  
  <p>I'm using Meteor with ReactJS.</p>
  
  <blockquote>
    <p>Uncaught ReferenceError: Deal is not defined
        at meteorInstall.imports.routes.routes.js</p>
  </blockquote>
  
  <p>Here is my routes.js file</p>
  
  <pre><code>&lt;Route path="/deals" component={Deal} secure="auth" /&gt;
  </code></pre>
  
  <p>My Deal.js component file, that the route should be linking too.</p>
  
  <pre><code>import React from 'react';
  import { Link } from 'react-router';
  import PrivateHeaderNav from './PrivateHeaderNav.js'
  
  export default class Deal extends React.Component {
    render() {
      return (
        &lt;div className="content"&gt;
          &lt;PrivateHeaderNav/&gt;
          Deal
        &lt;/div&gt;
      );
    }
  </code></pre>
  
  <p>}</p>
  
  <p>Am I missing something in the imports or in my Deal component?</p>
  
  <p>Thanks</p>