π
π
π
π
Cura
Searchβ¦
π
π
π
π
Cura
Introduction
Contributing Guidelines
Frontend
Overview
Contracts
NFT
Market
FT
DAO
Tools
build
deploy-nft
deploy-market
deploy-generator
Discover
NEAR + AssemblyScript
Creative Coding
Community
Future
Ethereum
Old
deploy + accounts
Powered By
GitBook
Overview
A Next.js app continuosly deployed on Vercel.
This is a
Next.js
project bootstrapped with
create-next-app
.
Getting Started
First, run the development server:
yarn
dev
Open
http://localhost:3001
with your browser to see the result. The page auto-updates as you edit the file.
Tools
State
unstated-next:
to wrap up Near Context
recoil
: state for app-related info
SWR
: contract data fetch and cache
Design
theme-ui
: for a consistent themable UI
Packages Development
To enable hot reloading of the packages while developing add the following to your app's
next.config.js
:
const withTM
=
require
(
'next-transpile-modules'
)([
'@cura/[package-name]'
])
β
module.exports
=
withTM
({
webpack5: false, // you want to keep using Webpack
4
})
In the library you are trying to use, substitute the following entries:
"main"
:
"src/index.ts"
,
"files"
:
[
"src"
]
,
Then make sure you
yalc publish
in the package and
yalc add @cura/[package-name]
in your app.
Previous
Contributing Guidelines
Next - Contracts
NFT
Last modified
10mo ago
Copy link
Outline
Getting Started
Tools
State
Design
Packages Development