vue vuetify_适用于Google Places API的Vuetify就绪的Vue.js自动建议组件

vue vuetify

Vuetify Google自动完成 (Vuetify Google Autocomplete)

A Vuetify ready Vue.js (2.x) autosuggest component for the Google Maps Places API.

适用于Google Maps Places API的Vuetify就绪Vue.js(2.x)自动建议组件。

Latest Version: 1.0.4

最新版本:1.0.4

安装 (Installation)

This component uses Google Maps Places API to get geo suggests for autocompletion, so you have to include the Google Maps Places API in the

of your HTML:

该组件使用Google Maps Places API来获取自动完成的地理建议,因此您必须将Google Maps Places API包括在

您HTML:
<!DOCTYPE html>
  <html>
  <head>
    …
    <script src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY_HERE&libraries=places"></script>
  </head>
  <body>
    …
  </body>
</html>

To obtain API key please visit the Google Developer Console. The API's that you have to enable in your Google API Manager Dashboard are Google Maps Geocoding API, Google Places API Web Service and Google Maps Javascript API.

要获取API密钥,请访问Google Developer Console。 您必须在Google API Manager仪表板中启用的API是Google Maps Geocoding API,Google Places API Web Service和Google Maps Javascript API。

The easiest way to use Vuetify Google Autocomplete is to install it from npm or yarn.

使用Vuetify Google Autocomplete的最简单方法是从npm或yarn进行安装。

npm install vuetify-google-autocomplete --save

Or

要么

yarn add vuetify-google-autocomplete

现场演示 (Live Demo)

https://madimetjashika.github.io/vuetify-google-autocomplete/

https://madimetjashika.github.io/vuetify-google-autocomplete/

翻译自: https://vuejsexamples.com/a-vuetify-ready-vue-js-autosuggest-component-for-the-google-places-api/

vue vuetify

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值