rsnext/test/integration/basepath/pages/ssr.js
Tim Neutkens 86808bbce2
Add basePath support (#9872)
* Add basePath support

* Add tests including copy of HMR tests

* Add production tests

* Add tests for serverless target

* Add missing quotes
2019-12-29 20:03:12 +01:00

11 lines
151 B
JavaScript

function SSRPage({ test }) {
return <h1>{test}</h1>
}
SSRPage.getInitialProps = () => {
return {
test: 'hello',
}
}
export default SSRPage