You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As user using remix-kit, it would be nice to know what each of the remix-kit commands does
Example Scenario
I create a new remix app (Remix App server)
Setup remix-kit
> cd ./your-remix-app
> npx remix-kit@latest install
> npm run vite:dev
I check the my package.json & see that there are new commands added to my scripts section:
when should I use some of the commands over the other?
"vite:preview": "remix-kit preview", is straight forward IMO
but these other 3 are less straight forward:
"vite:dev": "remix-kit dev --origin http://localhost:3000",
"vite:preview": "remix-kit preview",
"dev:server": "remix-kit preview"
Questions
Are "vite:preview" and ``"dev:server"` use the same shell command, is this intentional? I found it confusing seeing 2 different script commands that each call the same thing
When would i use npm run vite:dev over npm run dev:server?
Suggested solution
Perhaps Adding documentation on each of the remix-kit commands, perhaps a table of when to use them
or
a new Remix CLI command that outputs what all the commands do in one STDOUT output
# we could link this in the README too
`npx remix-kit --help`
Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
The text was updated successfully, but these errors were encountered:
cliffordfajardo
changed the title
DX: Explanations for what each remix-kit command does
DX: Explanations for what each remix-kit command do
Dec 30, 2022
Description
As user using
remix-kit
, it would be nice to know what each of theremix-kit
commands doesExample Scenario
remix-kit
package.json
& see that there are new commands added to myscripts
section:when should I use some of the commands over the other?
"vite:preview": "remix-kit preview",
is straight forward IMObut these other 3 are less straight forward:
"vite:dev": "remix-kit dev --origin http://localhost:3000",
"vite:preview": "remix-kit preview",
"dev:server": "remix-kit preview"
Questions
"vite:preview"
and ``"dev:server"` use the same shell command, is this intentional? I found it confusing seeing 2 different script commands that each call the same thingnpm run vite:dev
overnpm run dev:server
?Suggested solution
Perhaps Adding documentation on each of the remix-kit commands, perhaps a table of when to use them
or
a new Remix CLI command that outputs what all the commands do in one STDOUT output
I think this is still useful:
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: