Vue.js base project structure
- TypeScript
- Vue.js v3
- Composition API Style
- vuex v4
- vue-router v4
- firebase v8
- GitHub Actions(auto deploy to Firebase Hosting)
- using Vue.js v3 x TypeScript.
- Vuex for TypeScript and implements type safe commit/dispatch/getter.
- providing firebase config values by environment variables.
- validating for authentication, by using firebase authentication and vue-router
- GitHubAction auto deploy to Firebase Hosting
yarn install
- create .env.dev
VUE_APP_FIREBASE_API_KEY=hoge
VUE_APP_FIREBASE_AUTH_DOMAIN=hoge
VUE_APP_FIREBASE_PROJECT_ID=hoge
VUE_APP_FIREBASE_STORAGE_BUCKET=hoge
VUE_APP_FIREBASE_MESSAGING_SENDER_ID=hoge
VUE_APP_FIREBASE_APP_ID=hoge
VUE_APP_FIREBASE_DATABASE_URL=hoge
yarn serve --mode=dev
yarn build --mode=dev
yarn format