Releases: hashicorp/swingset
Releases · hashicorp/swingset
v0.15.0-canary-20221208035901
Minor Changes
- #48
626c559
Thanks @nandereck! - Adding fullscreen button
v0.15.0-canary-20221115193513
v0.14.1
0.14.0
0.13.0
0.12.0
0.11.0
v0.10.2
0.10.0
0.9.0
- Adds support for standalone docs pages, picked up by defining a
docsRoot
in the plugin options - Adds support for an index page, pass
index
toswingsetOptions
- Each component now has its own route, instead of rendering being driven by a query parameter
Here's what the implementation looks like now:
// in /pages/[[...swingset]].jsx
import createPage from 'swingset/page'
import { createStaticProps, createStaticPath } from 'swingset/server'
export default createPage()
export const getStaticPaths = createStaticPaths()
export const getStaticProps = createStaticProps({
/* mdxOptions = {} */
})