Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> การเขียนโปรแกรม >> JavaScript

การใช้ Ionic Framework สำหรับ Desktop Web Application

Ionic ออกแบบสำหรับ Mobile Hybrid Apps

Ionic เป็น Front-end UI Framework สำหรับ Hybrid Mobile Apps (รันใน WebView ผ่าน Cordova/Capacitor)

ข้อจำกัดบน Desktop

  • Internet Explorer ไม่รองรับฟีเจอร์ทั้งหมดของ Ionic
  • UI/UX ออกแบบสำหรับ Touch/Mobile ไม่เหมาะกับ Desktop
  • ควรสร้างแอป Desktop แยกต่างหาก (ใช้ Electron, NW.js, หรือ PWA)

ยังใช้ Ionic สำหรับ Mobile Website ได้

โดยไม่ใช้ Cordova full platform integration ใช้ Mobile Detection แยกเส้นทาง Mobile/Desktop