https://github.com/JSLancerTeam/react-google-flight-datepicker
{
"typescript.tsdk": "node_modules/typescript/lib",
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
yarn build
Then u can copy ./lib to node_module for using or deploy to npm
There are two way for using library.
- first way: import plugins
import VueGoogleFlightDatePicker from './install'
- second way: we can build library and copy it to node_module or using alias
import VueGoogleFlightDatePicker from 'vue-google-flight-datepicker'
import 'vue-google-flight-datepicker/vue-google-flight-datepicker.css'
yarn serve
yarn lint