title: Mixin declared without body
body: <p>I am doing the Wes-bos Learn node course.I am on the part of saving stores and using mixins. When I write mixins and run my app it gives this error.</p>
  
  <pre><code>Error: C:\Users\ATUL\Downloads\Learn-Node-master\Learn-Node-master\starter-files\views\mixins\_storeForm.pug:1:1
  &gt; 1| mixin storeForm(store = {})
     -------^
  2| form(action="/add" method="POST" enctype = "multipart/form-data" class="card")
  3| label(for="name") name
  4| input(type="text" name="name")
  
  Mixin storeForm declared without body
  at makeError (C:\Users\ATUL\Downloads\Learn-Node-master\Learn-Node-master\starter-files\node_modules\pug-error\index.js:32:13)
  at Parser.error (C:\Users\ATUL\Downloads\Learn-Node-master\Learn-Node-master\starter-files\node_modules\pug-parser\index.js:53:15)
  at Parser.parseMixin (C:\Users\ATUL\Downloads\Learn-Node-master\Learn-Node-master\starter-files\node_modules\pug-parser\index.js:871:12)
  at Parser.parseExpr (C:\Users\ATUL\Downloads\Learn-Node-master\Learn-Node-master\starter-files\node_modules\pug-parser\index.js:204:21)
  </code></pre>
  
  <hr>
  
  <p>This is the file in Mixins (_storeForm.pug)</p>
  
  <pre><code>mixin storeForm(store = {})
  form(action="/add" method="POST" enctype = "multipart/form-data" class="card")
    label(for="name") name
    input(type="text" name="name")
  </code></pre>
  
  <hr>
  
  <p>This is the file in views folder</p>
  
  <pre><code>extends layout
  
  include mixins/_storeForm
  
  block content 
    .inner
      h2= title 
      +storeForm({name:'dkjd'})
  </code></pre>
  
  <p>I am new to nodejs/pug/express. What is wrong with this code. This code in the given video works fine but not on my desktop.</p>