April 2020
🔨 Contact Manager (CRUD) using Google Cloud Firestore to store datas. From Udemy 'Créer une Single Page Application avec Vue.js et Firestore'.
See demo on Github page.
Contact manager with CRUD to store contact data in Cloud Firestore.
Components:
- ContactForm: manages creation of contact
- ContactList: manages delete and edit contact
- ContactDetails: manages displaying contact card (view mode and edit mode)
Views
- Home: manages the displaying of all the cards and the promises returned by db.js (that manages communication with Firestorm).
Clone, the local-version branch.
Then:
npm install
npm run serve
See demo on Github page.
During development
Problem with spaces using Eslint, use: npm run lint -- --fix
Also put your pages in LF (=Line Feed) instead of CR+LF (=Carriage Return + Line Feed)
Compiles and minifies for production
npm run build
Useful snipets
vbase
vimport
vmethod
vdata