No description
  • JavaScript 70.8%
  • TypeScript 19.7%
  • SCSS 8.9%
  • CSS 0.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-02 14:23:01 +00:00
abi Initial commit 2022-07-21 06:48:23 -07:00
components Fix USDT deposits 2022-07-25 05:15:51 -07:00
constants Update dggsale contract 2022-07-22 20:44:03 -07:00
hooks Initial commit 2022-07-21 06:48:23 -07:00
pages Update dgg for sold out 2022-07-28 02:46:18 -07:00
public Update dgg for sold out 2022-07-28 02:46:18 -07:00
styles Fix video positionining, add opacity overlay 2022-07-22 05:02:14 -07:00
utils Initial commit 2022-07-21 06:48:23 -07:00
.babelrc Initial commit 2022-07-21 06:48:23 -07:00
.eslintrc.js Initial commit 2022-07-21 06:48:23 -07:00
.gitignore Initial commit 2022-07-21 06:48:23 -07:00
.prettierignore Initial commit 2022-07-21 06:48:23 -07:00
.prettierrc Initial commit 2022-07-21 06:48:23 -07:00
CODEOWNERS Add CODEOWNERS for org code maintainers. 2026-09-02 14:23:01 +00:00
next-env.d.ts Initial commit 2022-07-21 06:48:23 -07:00
next.config.js Add background video 2022-07-22 04:21:47 -07:00
package.json Add approve flows for busd, usdc, usdt 2022-07-24 02:40:11 -07:00
prettier.config.js Initial commit 2022-07-21 06:48:23 -07:00
README.md Initial commit 2022-07-21 06:48:23 -07:00
tsconfig.json Initial commit 2022-07-21 06:48:23 -07:00
yarn.lock Add approve flows for busd, usdc, usdt 2022-07-24 02:40:11 -07:00

NextJs Starter

A Starter project for nextJs with Bulma CSS framework.

Demo

https://codesandbox.io/s/github/louiskhenghao/next-bulma

How to run app

Run development build

yarn
yarn dev

Run production build with:

yarn build
yarn start

Export as static HTML files

yarn build
yarn export

# To try on your local machine
# note: you'll need to install https://github.com/zeit/serve
cd out
serve -p 8080

Folder structure

/config
  - index.js
/components
  - YourComponent.js
/pages
  - YourPage.js
/screens
  - /YourScreenComponent
    - index.jsx
    - styles.jsx
/styles
  - theme.scss
  - styles.scss
  • components folder is the place for your component.
  • pages folder is the place for pages to be served, by default nextJs will consume the js file as page route, (Example: there is a mypages.js file under pages, so to access this page i just go to http://localhost:3000/mypages)
  • screens folder is the place for pages component, each page component will have a component and its styles, the purpose to having these due to some people would love to seperate style and component in different files (This is optional)
  • styles/theme.scss - this is the place where we import bulma theme, you can choose to define what you need to use for your application
  • styles/styles.scss - this file is to define global styles for your application