Skip to content

Vue 2 Movies App. Pre Rendered App. Seo Friendly...

Notifications You must be signed in to change notification settings

ahmetcelik43/e-movies

Repository files navigation

Vue.js 2.0 + vue-router Prerender SPA Example

Demonstrates usage of Vuejs 2.0 with Vue Router and Webpack 3. Build will generate 3 static routes at the following paths:

Demo: https://movies-app-52246.web.app/

  • /
  • /about

Build

npm install
npm run build
npm run serve

Now check the new dist directory for your prerendered static files!

To view the rendered files, install http-server (npm install -g http-server) if you haven't already and run it in the dist directory.

Development

To edit the prerender-spa-plugin configuration, look for new PrerenderSPAPlugin in the plugins section of webpack.config.js.

If you're using a router or have more than one page to prerender, edit the routes array under that config object.

About

Vue 2 Movies App. Pre Rendered App. Seo Friendly...

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published