Thank you for this article. It is hard to find any materials on Vue 3 + Rails.
Question: wouldn't you want to put configuration like __VUE_PROD_DEVTOOLS__: false in production.js and __VUE_PROD_DEVTOOLS__: true in development.js?
__VUE_PROD_DEVTOOLS__: false
production.js
__VUE_PROD_DEVTOOLS__: true
development.js
AFAIK the devtools should work on development (webpack mode / NODE_ENV "development") with that property set in environment.js.
webpack mode / NODE_ENV "development"
environment.js
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thank you for this article. It is hard to find any materials on Vue 3 + Rails.
Question: wouldn't you want to put configuration like
__VUE_PROD_DEVTOOLS__: false
inproduction.js
and__VUE_PROD_DEVTOOLS__: true
indevelopment.js
?AFAIK the devtools should work on development (
webpack mode / NODE_ENV "development"
) with that property set inenvironment.js
.