gitmathub / mindsettlers-nuxt

Test project with working firestore configuration for SSR

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mind Settlers Nuxt

This is a research project for the app.mindsettlers.com homepage. It's purpose is to find out if it can replace current Vuejs installation.

To be researched

  1. Can we make Firestore work on server side? CHECK
  2. Page generation. How does the static page generation work? CHECK
  3. Page generation. Test how to resolve dynamic links (with id)
  4. Page generation. Check the meta tags in the header
  5. How can the migration from the current VueJS project to Nuxt work?
  6. Will work be easier or harder with Nuxt?

Build Setup

# install dependencies
$ npm install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm start

# generate static project
$ npm run generate

Credits

I followed the instructions of the Medium article of Pascal Luther: Nuxt.js (v2), Firestore & SSR. All worked from the very first beginning.

The initial setup is based on: https://github.com/nuxt/create-nuxt-app

For detailed explanation on how things work, checkout Nuxt.js docs.

About

Test project with working firestore configuration for SSR


Languages

Language:Vue 65.6%Language:JavaScript 34.4%