next js frontend

Run the following command in your ./launchpad/next folder


yarn && yarn build && yarn start





change port for nextjs


{

  "name": "nextjs",

  "version": "0.1.0",

  "private": true,

  "scripts": {

    "dev": "next dev -p 3001--turbopack",

    "build": "next build",

    "start": "next start -p 3001",

    "lint": "next lint",

    "clean": "rm -rf .next && rm -rf node_modules && npm i"

  },




added -p 3001 in dev ans start


npm run start



.htaccess


REWRITERULE ^(.*)$ HTTP://nextjscloudvariation/$1 [P]

Comments

Popular posts from this blog

how to install internet download manger in linux

ImportError: DLL load failed while importing onnx_cpp2py_export

awstats with www