vue-thai-address-input

Thai address autocomplete for Vue.js


License
MIT
Install
npm install vue-thai-address-input@0.0.4

Documentation

VueThaiAddressInput

npm vue2

Autocomplete ที่อยู่ประเทศไทย สำหรับ Vue.js (ไม่ต้องใช้ jQuery) โดยใช้ฐานข้อมูลและโค้ดบางส่วนจาก jquery.Thailand.js

Demo

https://tsctao.github.io/vue-thai-address-input/

Installation

npm install --save vue-thai-address-input

Usage

Bundler (Webpack, Rollup)

import Vue from 'vue'
import VueThaiAddressInput from 'vue-thai-address-input'
// You need a specific loader for CSS files like https://github.com/webpack/css-loader
import 'vue-thai-address-input/dist/vue-thai-address-input.css'

Vue.use(ThaiAddressInput);

ดูตัวอย่างการใช้งานในโฟลเดอร์ demo

Development

Launch visual tests

npm run dev

Build

Bundle the js and css of to the dist folder:

npm run build

License

MIT