Courses
Vue Foundations Vue Fullstack Vue Enterprise
Articles
Latest Topics
More
Newsletter Sponsorship Discord About
The video for this lesson is currently being updated, please read the transcript instead.
Advanced Vue 2 - Vuex & SSR > Lesson 56

Bundling for production

So far we've just been working in development mode for this app, so how can we make this

work for production?

Well first thing we want to do is quit our local server, go to our environment file and

change node environment over to production like that.

Now, since we're no longer running the Webpack Dev server, we need to actually build our

files with Webpack and I provided a script for that already in the package.json called

build, so if you run NPM run build like so


Back to course page

Click to load comments...

Courses
  • Vue Foundations
  • Vue Fullstack
  • Vue Enterprise
Articles
  • Latest
  • Topics
Newsletter
  • Join
  • Sponsorship
More
  • Discord
  • Vue.js jobs
  • About

Vue.js Developers © 2021. View our privacy policy .

  • RSS
  • |
  • Atom