Chit-ê Tâi-gí su-ji̍p-hoat sú-iōng jquery.ime.
- $ āu ê jī sī ài phah-ji̍p cmd lāi ê
- Hō͘ <> pau--khí-lâi ê jī sī ē piàn-hòa ê kah lí ê tiān-náu ū koan-hē, chhin-chhiūⁿ <Lí ê bûn-kiāⁿ>, tiō sī kóng lí tiān-náu lāi ê "góa ê bûn-kiāⁿ" (我的文件)
- Siá tī chia ê "Lō͘-kèng" lóng sī Unix-style, iōng Windows ê lâng ài hō͘ / kái-chò \
- Nā-sī leh siá .js tóng lóng ài iōng Unix-style ê "Lō͘-kèng"
- Chún-pī su-iàu ê ke-si
- Iōng git tang-ló͘ 'jquery.ime'
- Chong Node.js
- Siat-tēng
- Khì <khǹg jquery.ime.tws ê ūi>/example, iōng kí-sū-pún (記事本) phah-khui lāi-té ê node_server.js
- Tī tē-chhit hâng, hō͘ '' pau--khí-lâi ê sī lí khǹg 'jquery.ime' ê ūi, lí ài kái kàu lí chin-chiàⁿ khǹg 'jquery.ime' ê só͘-chai.
- M̄-koh lí mā ē-sái hō͘ 'jquery.ime' soah kàu kah 'jquery.ime.tws' kāng-khoán ê ūi.
- $ cd <khǹg jquery.ime.tws ê ūi>/example
- Nā-sī lí iōng Windows, khó-lêng ài phah $ cd /d <khǹg jquery.ime.tws ê ūi>\example
- npm install
- $ node node_server.js
- Phah-khui browser, su-ji̍p 'localhost:5001'
- Tiám he 'su-ji̍p-khu', ni̍h ctrl+m
- Phah Tâi-gí
This Taiwanese input method using jquery.ime.
- line start with $ mean you need to use Command Prompt to enter the following text
- text surrounded by <> mean variable, like <your document folder> which mean your Documents folder
- All path here is writen in Unix-style, for Windows user, please replace / with \
- All path in .js file must written in Unix-style
- Prepare all prerequirements
- Download 'jquery.ime' via git
- Install Node.js
- https://nodejs.org/en/
- we suggest using LTS
- Setup
- Go to <location of jquery.ime.tws>/example and open file 'node_server.js' with notepad (or text editor you prefered)
- At line 7, text surrounded by '' mean the relatived path to 'jquery.ime', please change it to the path of jquery.ime in your computer
- or just move 'jquery.ime' to where 'jquery.ime.tws' is
- $ cd <location of jquery.ime.tws>/example
- if you using Windows, you might use $ cd /d <location of jquery.ime.tws>\example
- $ npm install
- $ node node_server.js
- Open your browser and enter 'localhost:5001'
- Click that 'text area' and press ctrl+m
- Enter Taiwanese