#Remix Integration with Electronjs
12 messages · Page 1 of 1 (latest)
"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...
How would you do to use your app on a website?
I didn't get you
You say you need to use a command to use the app in production, so how can it work for a normal web app?
in Remix, we need to use npm run start after we run npm run build, we don't run npm run start it won't work at all!...
Hello @dense peak , any help on this?
No, I never used Remix and you're not really answering my question so I can't help
I've answered your question & for that I've shared the Remix link as well
Remix is SSR App, or consider Nextjs where to run the App you need to run the start command... it's not like React which gives you a static build and which you can use
@dense peak Remix or Nextjs both needs start command even if it's for a normal web app