npm install
npm run serve
npm run build
npm run lint
This is my project for "Employees" , CRUD database :Firebase ,using VUE.js, and Router and bootstap.
install npm
Vue
Firebase
Bootstrap
jQuery
popper
VueRouter
bootstrapVue
You should file called "node_modules"
You need to Creat account on Firebase webiste
Then, Add Project
In ,Project settings
App nickname:employees
Get SDK , get npm web script
Copy-Paste from script to Firebase.js in src to "const Config".
In firebase website , go to firestore database
make a collection called "employees"
and fields is "name","department","age".
you have router file and components
In router file , you have index.js
1-import VueRouter --- Very Important to do that
2-Import 4 files from compoents
which are List/show/edit/add employess
3- routes
make :path, name,component
module.exports = {
presets: [
'@vue/cli-plugin-babel/preset'
]
}