mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 12:24:18 +00:00
.vscode
assets
components
config
framework
lib
pages
api
product
[...pages].tsx
_app.tsx
_document.tsx
cart.tsx
index.tsx
orders.tsx
profile.tsx
search.tsx
wishlist.tsx
public
.editorconfig
.env.template
.gitignore
.prettierignore
.prettierrc
README.md
codegen.json
commerce.config.json
global.d.ts
license.md
next-env.d.ts
next.config.js
package.json
postcss.config.js
swell-js.d.ts
tailwind.config.js
tsconfig.json
yarn.lock
* Fix typo (#135) The defaultPageProps object had a typo in the name Co-authored-by: B <curciobelen@gmail.com> * changes * changes Co-authored-by: JD <jonathan.dawber@icloud.com>
18 lines
312 B
TypeScript
18 lines
312 B
TypeScript
import Document, { Head, Html, Main, NextScript } from 'next/document'
|
|
|
|
class MyDocument extends Document {
|
|
render() {
|
|
return (
|
|
<Html>
|
|
<Head />
|
|
<body className="loading">
|
|
<Main />
|
|
<NextScript />
|
|
</body>
|
|
</Html>
|
|
)
|
|
}
|
|
}
|
|
|
|
export default MyDocument
|