Di chuyển từ Netlify sang Workers Migrate from Netlify to Workers ការផ្លាស់ប្តូរពី Netlify ទៅ Workers
Hướng dẫn chi tiết đồng bộ từ docs Cloudflare — mỗi section có backlink tới đúng vị trí trên trang gốc. Detailed guide synced from Cloudflare docs — each section links to the matching anchor on the official page. មគ្គុទ្ទេសក៍លម្អិតធ្វើសមកាលពី docs Cloudflare — ផ្នែកនីមួយៗមានតំណទៅទីតាំងត្រូវគ្នានៅទំព័រផ្លូវការ។
← Danh mục ← Catalog ← បញ្ជីGiải thích nhanh Quick context បរិបទរហ័ស
Thuộc Developer Platform — thực hành triển khai code, API và dữ liệu trên edge/serverless. Tutorial «Di chuyển từ Netlify to Workers» giúp bạn làm quen luồng triển khai thật — phù hợp đọc trước khi mở tài liệu gốc tiếng Anh. Đọc phần tóm tắt và lưu ý trước — sau đó mở docs gốc để copy lệnh và cấu hình chi tiết.
Migrate your Netlify application to Cloudflare Workers. You should already have an existing project deployed on Netlified that you would like to host on Workers.
ទាញយកកម្មវិធី Netlify របស់អ្នកទៅ Cloudflare Workers ។ អ្នកគួរតែមានគម្រោងដែលមាននៅលើ Netlified ដែលអ្នកចង់រៀបចំនៅលើ Workers ។
Lưu ý Note ចំណាំ
Lưu ý trước khi làm Notes before you start ចំណាំមុនពេលចាប់ផ្តើម
- Đây là bản tóm tắt trên Orange Cloud Learning Hub — không thay thế tài liệu chính thức.
- Luôn mở liên kết «Tài liệu gốc» bên dưới khi cần lệnh CLI, snippet code và ảnh minh họa đầy đủ.
- Cần tài khoản Cloudflare, Wrangler CLI và (thường) hoàn thành hướng dẫn Get started của Workers/Pages.
- Docs Cloudflare cập nhật thường xuyên — đối chiếu ngày «Rà soát lần cuối» trên trang gốc khi triển khai production.
- This is a summary on Orange Cloud Learning Hub — it does not replace the official documentation.
- Open the Official docs link below for CLI commands, code snippets, and full screenshots.
- Requires a Cloudflare account, Wrangler CLI, and (typically) completing the Workers/Pages Get started guide.
- Cloudflare docs change frequently — verify the Last reviewed date on the official page before production use.
- នេះគឺជាការបញ្ជាក់អំពី Orange Cloud Learning Hub — វាគឺជាការផ្លាស់ប្តូរនៃឯកសារផ្លូវការ។
- ចុចតំណភ្ជាប់ Docs Official នៅខាងក្រោមសម្រាប់ការបញ្ជា CLI, សៀវភៅកូដនិងរូបថតពេញលេញ។
- តម្រូវឱ្យមានគណនី Cloudflare, Wrangler CLI និង (ប្រហែលជា) ការបញ្ចប់គណនី Workers/Pages Get started ។
- Cloudflare បានផ្លាស់ប្តូរជាធម្មតានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅ។
Tài liệu gốc — rà soát lần cuối: about 1 year ago Official docs — last reviewed: about 1 year ago ឯកសារផ្លូវការ — ពិនិត្យចុងក្រោយ: about 1 year ago
Overview Overview Overview
Trong tutorial này, bạn sẽ migrate your Netlify application to Cloudflare Workers.
Read the "Overview" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «Overview» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)
Framework Frameworks គោលនយោបាយ
Phần «Frameworks» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "Frameworks" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «គោលនយោបាយ» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)
Tìm lệnh build và xây dựng thư mục Find your build command and build directory សូមស្វែងរកគោលបំណង build និង build directory របស់អ្នក
Phần «Find your build command và build directory» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "Find your build command and build directory" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «សូមស្វែងរកគោលបំណង build និង build directory របស់អ្នក» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
npm run build, và Output Directory là .next.npm run build, and the Output Directory is .next.npm run build និង Output Directory គឺជា .next ។Tạo tệp wrangler Create a wrangler file ការបង្កើតឯកសារ wrangler
Phần «Tạo wrangler file» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "Create a wrangler file" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «ការបង្កើតឯកសារ wrangler» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
wrangler.jsonc hoặc wrangler.toml (wrangler.jsonc được khuyến khích). Những gì đi vào tệp phụ thuộc vào loại ứng dụng bạn đang triển khai: một ứng dụng được cung cấp bởi Static Site Generation (SSG), hoặc một Single Page Application (SPA).wrangler.jsonc or wrangler.toml file (wrangler.jsonc is recommended). What goes in the file depends on what type of application you are deploying: an application powered by Static Site Generation (SSG), or a Single Page Application (SPA).wrangler.jsonc ឬ wrangler.toml ( wrangler.jsonc ត្រូវបានផ្តល់អនុសាសន៍) ។ អ្វីដែលបានចូលទៅក្នុងឯកសារនេះត្រូវបានផ្លាស់ប្តូរដោយប្រភេទកម្មវិធីដែលអ្នកដំឡើង:កម្មវិធីដែលមានថាមពលដោយ Static Site Generation (SSG) ឬ Single Page Application (SPA) ។<your-project-name> với tên dự án của bạn và giá trị <your-build-directory> với thư mục xây dựng từ Netlify.<your-project-name> value with the name of your project and <your-build-directory> value with the build directory from Netlify.<your-project-name> និងគោលបំណងរបស់គម្រោងរបស់គម្រោងរបស់គម្រោងរបស់អ្នក <your-build-directory> ។{
"name": "<your-project-name>",
// Set this to today's date
"compatibility_date": "2026-06-10",
"assets": {
"directory": "<your-build-directory>",
},
} name = "<your-project-name>"
# Set this to today's date
compatibility_date = "2026-06-10"
[assets]
directory = "<your-build-directory>" not<em>found</em>handling.not<em>found</em>handling field.not<em>found</em>handling ។{
"name": "<your-project-name>",
// Set this to today's date
"compatibility_date": "2026-06-10",
"assets": {
"directory": "<your-build-directory>",
"not_found_handling": "single-page-application",
},
} name = "<your-project-name>"
# Set this to today's date
compatibility_date = "2026-06-10"
[assets]
directory = "<your-build-directory>"
not_found_handling = "single-page-application" Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)
Tạo dự án mới Workers Create a new Workers project បង្កើតគម្រោងថ្មី Workers
Phần «Tạo Workers dự án mới» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "Create a new Workers project" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «បង្កើតគម្រោងថ្មី Workers» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
npx wrangler deploy.npx wrangler deploy.npx wrangler deploy ។Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)
Thêm một custom domain Add a custom domain លក្ខណៈពិសេស Custom Domain
Phần «Thêm custom domain» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "Add a custom domain" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «លក្ខណៈពិសេស Custom Domain» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)
Xóa ứng dụng Netlify của bạn Delete your Netlify app ទាញយកកម្មវិធី Netlify របស់អ្នក
Phần «Xó your Netlify app» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "Delete your Netlify app" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «ទាញយកកម្មវិធី Netlify របស់អ្នក» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
Rắc rối Troubleshooting ដំបូង
Phần «Xử lý sự cố» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "Troubleshooting" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «ដំបូង» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"/directory/","name":"Directory"}},{"@type":"ListItem","position":2,"item":{"@id":"/workers/","name":"Workers"}},{"@type":"ListItem","position":3,"item":{"@id":"/workers/static-assets/","name":"Static Assets"}},{"@type":"ListItem","position":4,"item":{"@id":"/workers/static-assets/migration-guides/","name":"Migration Guides"}},{"@type":"ListItem","position":5,"item":{"@id":"/workers/static-assets/migration-guides/netlify-to-workers/","name":"Migrate from Netlify to Workers"}}]} Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)
Xem bản đầy đủ trên developers.cloudflare.com (ảnh, tab cấu hình). View the full guide on developers.cloudflare.com (images, config tabs). មើលមគ្គុទ្ទេសក៍ពេញលើ developers.cloudflare.com (រូបភាព, tab កំណត់)។
Tài liệu gốc ↗ Official docs ↗ ឯកសារផ្លូវការ ↗