Upgrade packages
This commit is contained in:
16
src/pages/[...].js
Normal file
16
src/pages/[...].js
Normal file
@@ -0,0 +1,16 @@
|
||||
import React from "react"
|
||||
|
||||
import App from "components/App"
|
||||
import Layout from "components/Layout"
|
||||
|
||||
/* similar to create-react-app, the App.js is like the
|
||||
entrypoint to the protected/client only content,
|
||||
Context providers are moved to gatsby-browser.js
|
||||
to wrap the root element with necessary providers
|
||||
and context */
|
||||
const app = () => (
|
||||
<Layout>
|
||||
<App />
|
||||
</Layout>
|
||||
)
|
||||
export default app;
|
||||
Reference in New Issue
Block a user