forked from crowetic/commerce
.vscode
assets
components
config
framework
lib
pages
api
product
search
404.tsx
[...pages].tsx
_app.tsx
_document.tsx
cart.tsx
index.tsx
orders.tsx
profile.tsx
search.tsx
wishlist.tsx
public
.editorconfig
.env.template
.eslintrc
.gitignore
.prettierignore
.prettierrc
README.md
codegen.bigcommerce.json
codegen.json
commerce.config.json
global.d.ts
license.md
next-env.d.ts
next.config.js
package-lock.json
package.json
postcss.config.js
swell-js.d.ts
tailwind.config.js
tsconfig.json
* 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
|