#Remix Integration with Electronjs

12 messages · Page 1 of 1 (latest)

dense peak
#

What do you mean "Remix have a start command after building it for the production"?

noble grove
#
"scripts": {
    "build": "remix vite:build",
    "dev": "remix vite:dev",
    "lint": "eslint --ignore-path .gitignore --cache --cache-location ./node_modules/.cache/eslint .",
    "start": "remix-serve ./build/server/index.js",
  },

@dense peak so here, when we run the npm run dev it runs the Remix Code in dev mode which is meant for development, similarly after we run npm run build which generates & build the Production Build, and to use the production build we need to run npm run start without it we can't run the production build or access the web app for production...

dense peak
#

How would you do to use your app on a website?

noble grove
dense peak
#

You say you need to use a command to use the app in production, so how can it work for a normal web app?

noble grove
noble grove
#

Hello @dense peak , any help on this?

dense peak
#

No, I never used Remix and you're not really answering my question so I can't help

noble grove
noble grove
#

@dense peak Remix or Nextjs both needs start command even if it's for a normal web app