ideaaward / badge-builder

Other
2 stars 2 forks source link

Make serving from dist folder work #58

Closed vjrantal closed 8 years ago

vjrantal commented 8 years ago

Current configuration doesn't yet fully work with the vulcanize gulp task. At least one thing that contributes to the issue is that we moved routing import to index.html (away from elements.html):

  <!-- Because this project uses vulcanize this should be your only html import
       in this file. All other imports should go in elements.html -->
  <link rel="import" href="/static/elements/elements.html">

  <!-- Configure your routes here -->
  <link rel="import" href="/static/elements/routing.html">
vjrantal commented 8 years ago

To reproduce, run:

gulp && node server.js dist