This is my personal Vue template for "bootstrapping" projects rather quickly.
It includes, by default, basic Google authentication against a Firebase instance, configured in .env
.
Folder names and project structure is somewhat compatible with Material Icons for PHPStorm, to get them pretty icons.
Will display a login button to authenticate with a Google account.
Then the first time that you install GSAP to a project you need to install via:
npm install gsap@npm:@gsap/business
npm install
npm run serve
npm run build
npm run lint
- https://learnvue.co/2021/05/how-to-use-vue-css-variables-reactive-styles-rfc/
- https://www.telerik.com/blogs/passing-variables-to-css-on-a-vue-component
Limit read/write to certain Google users
https://console.firebase.google.com/project/PROJECT-NAME-HERE/firestore/rules
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read, write: if request.auth.uid == "google-user-id-goes-here";
allow read, write: if request.auth.uid == "another-user-id-here";
}
}
}