How to Identify if its in production mode or dev invironment? #1378
              
                Unanswered
              
          
                  
                    
                      JenuelDev
                    
                  
                
                  asked this question in
                Help (Vue)
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
So I have this code something like this in my app.js
I run
yarn mixandyarn prodbut it still runs the require(), I like to run the import if its in production mode.Beta Was this translation helpful? Give feedback.
All reactions