Goal
ใช้งาน JSPM สำหรับ ES Module Package Manager และ CDN
Scope
ใช้สำหรับ native ES modules โดยไม่ต้อง bundle, import maps สำหรับ module resolution, zero config, TypeScript support, hot reloading, และ CDN integration
Execute
- ติดตั้ง JSPM globally
- Initialize project
- Start development server
- Build for production
- อ่าน
guide/installation.mdสำหรับการติดตั้งและ setup - อ่าน
guide/quick-start.mdสำหรับเริ่มต้นใช้งาน - อ่าน
guide/key-concept.mdสำหรับแนวคิดหลัก - อ่าน
guide/how-it-works.mdสำหรับวิธีการทำงาน - อ่าน
guide/features.mdสำหรับ features ที่มี - อ่าน
guide/patterns.mdสำหรับ patterns ทั่วไป - อ่าน
guide/best-practices.mdสำหรับ best practices - อ่าน
guide/integration.mdสำหรับ tool integration - อ่าน
guide/architecture.mdสำหรับ system architecture - อ่าน
guide/structure.mdสำหรับ project structure - อ่าน
guide/troubleshooting.mdสำหรับปัญหาทั่วไป
Rules
- ใช้
bun add -g jspmสำหรับ installation - ใช้
jspm initสำหรับ initialize - ใช้
jspm serveสำหรับ development server - ใช้
jspm buildสำหรับ production build - ใช้ backticks สำหรับ commands
- ใช้ code blocks สำหรับ examples
- ใช้ ansi markdown diagrams สำหรับ flow และ architecture
Expected Outcome
- ES modules ที่ native และ efficient
- Import maps ที่ configured อย่างถูกต้อง
- Development ที่ fast ด้วย hot reloading
- CDN integration ที่ seamless