Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 635 Bytes

commands.md

File metadata and controls

41 lines (31 loc) · 635 Bytes

s-a-tanjim.github.io

Building Process

The building process has two steps. 1) Build bootstrap & 2) Build the app.

Build Bootstrap

# Go to bootstrap root dir
$ cd bootstrap
# build bootstrap
$ npm run build

Build the app

# install dependencies
$ npm install

# serve with hot reload at localhost:3000
$ npx nuxi dev
$ npm run dev


# build for production and launch server
$ npm run build
$ npm run start

# Locally preview production build
$ npm run preview

# generate static project
$ npm run generate
$ npx nuxi generate

Testing with http server

cd dist

python3 -m http.server 9000