remaxjs / remax
1 1
import VirtualEntry from './VirtualEntry';
2

3 1
export default class FallbackEntry extends VirtualEntry {
4 0
  outputSource() {
5 0
    return `
6
      import { renderLanding } from '@remax/web';
7

8
      renderLanding(${JSON.stringify(
9 0
        Array.from(this.builder.entryCollection.entries.values()).map(entry => ({
10
          route: entry.name,
11
        })),
12
        null,
13
        2
14
      )});
15
    `;
16
  }
17
}

Read our documentation on viewing source code .

Loading