Nuxt เป็น Framework ตัวหนึ่งที่สร้างขึ้นจาก Vue.JS สำหรับใช้พัฒนา web application ที่รองรับรูปแบบการ render ฝั่ง Server หรือที่เรียกกันว่า Server Side Rendering (SSR) และยังรองรับการทำ Progressive Web Application (PWA) เหมาะสำหรับ web application ที่ต้องการทำ SEO เช่นเว็บบล๊อก ร้านค้า e-commerce เป็นต้น การเลือกใช้งาน Nuxt ยังช่วยลดระยะเวลาในการพัฒนาแอพพลิเคชั่นลงได้มาก ด้วยโครงสร้างและรูปแบบที่ทาง Nuxt framework จัดเตรียมมาให้ อาทิ ระบบการทำ routing อัตโนมัติ (File-based routing) , ระบบการ import ไฟล์และ module ต่าง ๆ (Nuxt Auto Import) รวมไปถึงระบบการออกแบบและสร้าง API ได้เองภายในตัว นับว่าช่วยให้นักพัฒนาทำงานได้อย่างรวดเร็วและมีประสิทธิภาพอย่างมาก

ซึ่งในหลักสูตรนี้จะเป็นการต่อยอดจาก Nuxt 3 Basic สำหรับผู้เริ่มต้น ก่อนหน้าที่ผ่านมา เพื่อให้ผู้สนใจสามารถประยุกต์นำ Nuxt 3 Framework ไปพัฒนาเว็บแอพของตัวเองได้อย่างมั่นใจ ด้วยเนื้อหาที่มีความสำคัญและนำไปใช้งานจริงได้มากมาย อาทิ การปรับโครงสร้างโปรเจ็กต์ Nuxt 3 รองรับงานขนาดใหญ่, การจัดการข้อผิดพลาดฝั่ง Client และฝั่ง Server, การปรับปรุงฟังก์ชันด้วยการใช้ Utilities, การเขียนเว็บแอพหลายภาษาด้วย Nuxt 3 i18n, การสร้าง API ด้วย Nuxt 3, Nuxt 3 Authentication and Middleware,JWT authentication, Prisma in PostgreSQL, Nuxt 3 with Pinia และเรื่องอื่นๆ ที่น่าสนใจอีกมากมาย

สาขากรุงเทพฯ (ลาดพร้าว)
  • ยังไม่มีรอบเปิดอบรม (ลงชื่อจองไว้ได้)
  • เรียนรู้การออกแบบเว็บไซต์ด้วย The Intuitive Web Framework
  • เรียรู้การ ทำงานกับ TypeScript ได้สมบูรณ์แบบ
  • ประยุกต์ใช้ความรู้ทั้งหมดมาพัฒนาเว็บไซต์ในองค์กรหรือหน่วยงานได้
  • ผู้ที่ต้องการสร้างเว็บไซต์แบบ Intuitive Web
  • Developers
  • กลุ่มผู้สนใจทั่วไป
  • พื้นฐาน HTML & CSS
  • พื้นฐาน JavaScript
  • พื้นฐานการใช้งาน Vue.JS
  • พื้นฐานการใช้งาน Nuxt 3
  • 18 ชั่วโมง
  • ราคาปกติ 9,500 บาท / คน
  • โปรโมชั่นลด 10% เหลือ 8,550 บาท / คน
  • ราคาเหมาจ่าย (ผู้อบรมตั้งแต่ 10 คน) ตามแต่ตกลงกัน
  • ขอใบเสนอราคา

เนื้อหาการอบรม:

Section 1: ปรับโครงสร้างโปรเจ็กต์ Nuxt 3 รองรับงานขนาดใหญ่ขึ้น (Scalable project)

  • แนะนำตัวอย่างโครงสร้างโปรเจ็กต์ที่นิยมใช้ในการ Scaleable ได้ในอนาคต
  • การสร้าง Layout แบบ Custom
  • การเขียนฟังก์ชันการทำงานแยกไว้ใน Composables
  • การเรียกใช้งาน Tailwind CSS, Vuetify , Fonts, Icons และอื่นๆ

Section 2: การจัดการข้อผิดพลาดฝั่ง Client และฝั่ง Server (Handling Client and Server Errors)

  • การเพิ่มหน้า Page not found (404)
  • การใช้ useError Composable
  • การทำ Dynamic Rendering Card View
  • แสดงข้อผิดพลาดจากฝั่ง Server (Throwing a custom server error)
  • แสดงข้อผิดพลาดจากฝั่ง Client (Throwing a Client side error)
  • การ Handle Error ด้วย NuxtErrorBoundary

Section 3: การปรับปรุงฟังก์ชันด้วยการใช้ Utilities

  • การปรับประสิทธิภาพของรูป (optimizing images) ด้วย NuxtImg
  • การใช้ useState Composable
  • การใช้งาน Vueuse Module
  • การ Forcing Client Side Rendering

Section 4: การเขียนเว็บแอพหลายภาษาด้วย Nuxt 3 i18n

  • พื้นฐาน Localization
  • การติดตั้ง library @nuxtjs/i18n
  • แนวทางการแปลภาษาภายใน Vue components
  • External JSON or JS files
  • Named formatting
  • Pluralization
  • Number localization
  • Date and time localization
  • Nuxt-specific localization
  • Search engine optimization (SEO)

Section 5: การสร้าง API ด้วย Nuxt 3

  • Create a new nuxt 3 project
  • Creating server routes
  • Catching all routes
  • Creating Middleware and Utilities
  • Testing API

Section 6: Nuxt 3 Authentication and Middleware

  • แนะนำ Supabase เบื้องต้น
  • การสมัครใช้งาน Supabase
  • การเชื่อมต่อโปรเจ็กต์ Nuxt กับ Supabase
  • เปิดใช้งาน Google Authentication
  • Implementing Google OAuth
  • Conditionally Rendering UI Based on Auth Status
  • Implementing the Logout Functionality
  • Protecting Routes With Inline Route Middleware
  • Named Middleware
  • Global Middleware

Section 7: Nuxt 3 JWT authentication

  • Install the required packages
  • Configure @nuxtjs/auth module in nuxt.config.js file
  • Create login form dispatch nuxtClientInit and pass JWT token
  • Use $auth check authenticated and access the user's data
  • Use auth middleware to protect routes
  • Handle logout method on the $auth object

Section 8: Nuxt 3 with Data Fetching and HTTP Requests

  • แนะนำ Server Endpoints API
  • Extracting the Path Parameters
  • Extracting the Query Parameters
  • Fetching the Data From the Client
  • Fetch Composable
  • Fixing an Issue With Error Handling

Section 9: Nuxt 3 with Prisma in Postgres database

  • แนะนำให้รู้จักกับ Prisma ORM
  • Installing an ORM with Prisma
  • Programmatically Creating Our Tables
  • HTTP Verbs
  • Fetching Data From the Database
  • Deleting Data From the Database
  • Adding the Other Two Endpoints
  • Complex Filters
  • Making a POST Request From the Client
  • Making a GET Request From the Client
  • Making a DELETE Request From the Client

Section 10: Nuxt 3 State management with Pinia

  • Installing Pinia in Nuxt 3
  • Add Pinia to your nuxt.config file
  • Build your Pinia store
  • Bring Pinia in Vue Component

Section 11: การ Build และ Deployed project ไปใช้งานจริง

  • Deploy Nuxt 3 app to Vercel
  • Deploy Nuxt 3 app to Netlify
  • Deploy Nuxt 3 app to Render
  • Deploy Nuxt 3 sites with universal rendering on Azure
21/02/2023 13:07:24