create-react-scala-app.g8 icon indicating copy to clipboard operation
create-react-scala-app.g8 copied to clipboard

[Question] How do I create multiple pages?

Open NightMachinery opened this issue 6 years ago • 3 comments

With this setup, there is an index.html connected to Scala code. How can I add other such pages? (I don't want an SPA.)

NightMachinery avatar Jun 03 '18 18:06 NightMachinery

@NightMachinary do you want to load different code for each page, or have a single bundle render different content given which path is loaded?

shadaj avatar Jun 12 '18 03:06 shadaj

@shadaj I want different code for each page, though I like to know how to do the single bundler thing as well.

NightMachinery avatar Jun 13 '18 13:06 NightMachinery

In that case you'll need several SBT submodules that each have the same build config as this template.

shadaj avatar Sep 15 '18 22:09 shadaj