saguijs / sagui

:monkey: Front-end tooling in a single dependency

Home Page:http://sagui.js.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

/ is not fallback to the default page

hex0cter opened this issue · comments

With the following config

module.exports = {
  /**
   * Different application entry-points
   * Each page is a combination of a JavaScript file and a HTML file
   *
   * Example: 'index' -> 'index.html' and 'index.js'
   */
  pages: ['page1', 'page2'],

  javaScript: {
    transpileDependencies: [
      'currency'
    ]
  },

I expect when opening http://hostname:port/, by default it should open the first page in the pages list. At the moment I get

Cannot GET /

Good feature 👍