simonmcmanus / speclate

spec objects for sizlate that can render at build, on the server or client.
MIT License
3 stars 1 forks source link

speclate options #8

Closed simonmcmanus closed 7 years ago

simonmcmanus commented 8 years ago

It's going to be necessary to pass speclate config options:

see #1 #2 #3 #7

How should these be passed in?

I think we want a options object at the same level as pages:

var spec = {
   '/': { page: 'home' },
   options: {
       container: 
       root: 
       hostingPrefix: 
       layout: 
   }
}