This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # TypeScript declaration to use $style in a Vue CSS Modules setup | |
| import Vue from 'vue'; | |
| declare module 'vue/types/vue' { | |
| interface Vue { | |
| $style: { [key: string]: string }; | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { ReCaptchaInstance } from 'recaptcha-v3'; | |
| declare module '@vue/runtime-core' { | |
| interface ComponentCustomProperties { | |
| $recaptcha: (action: string) => Promise<string>; | |
| $recaptchaLoaded: () => Promise<boolean>; | |
| $recaptchaInstance: ReCaptchaInstance; | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # For the master branch | |
| # Delete all local branches except master | |
| $ git branch | grep -v "master" | xargs git branch -D | |
| # Delete all local branches except those containing 'master' | |
| $ git branch | grep -ve " master$" | xargs git branch -D | |
| --- | |
| # For the develop branch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // File Paths | |
| var paths = { | |
| input: 'src/**/*', | |
| output: 'dist/', | |
| js: { | |
| input: 'src/js/**/*.js', | |
| output: 'dist/js/' | |
| }, | |
| css: { | |
| input: 'src/scss/**/*.scss', |
NewerOlder