20230317_Astroで始めるCloudflare Pages

1.2K Views

March 17, 23

スライド概要

profile-image

Oita(1988.03) → Tokyo(2010.04) → Fukuoka(2021.11)

シェア

またはPlayer版

埋め込む »CMSなどでJSが使えない場合

(ダウンロード不可)

関連スライド

各ページのテキスト
1.

Astroで始めるCloudflare Pages 〜 astro-notion-blogを始めてみませんか 〜 2023年3月17日 Cloudflare Meetup Fukuoka

2.

自己紹介 大分(22年) → 東京(11年) → 福岡(2021.11~)→ 佐賀(2023.8~予定) https://my.prairie.cards/u/midnight480 https://linktr.ee/midnight480 AWS Startup Community Fukuoka 運営 JAWS-UG Saga 運営 …その他イベントに顔だしています

3.

https://astro.midnight480.com/

4.

このページ以降は Slides AI で作成を試みたので英語での記載となっています 🙏

5.

Introduction to Astro.js - Astro.js is a web framework designed for speed - SSG*1 that generates HTML when built - In demand for those who demand display speed *1 Static Site Generator

6.

Introduction to Notion - A tool that consolidates all information - All-in-one workspace - Use as a CMS*2 to manage blog text, images, etc *2 Contents Management System Photo by Pixabay

7.

Introduction to Cloudflare Pages - Available for free - Used to build and deploy Astro.js and other applications - a single site asset is 25 MiB

8.

Tool for Connecting: astro-notion-blog - Github repository created by Mr.Otoyo https://github.com/otoyo/astro-notion-blog - easy-notion-blog, a combination of Next.js 13 and Notion API , and Vercel - astro-notion-blog, a combination of Astro.js, Notion API, and Cloudflare Pages Photo by Pixabay

9.

Good Point

10.

Easy branch definition for preview environment - Can check the display in advance - Access restrictions can only be applied to members with limited access via Cloudflare Access Photo by Pixabay

11.

Web Analytics - Add one line of JS snippet to the HTML page - For Astro-notion-blog, just add to Layout.astro

12.

Feature Request

13.

Custom Domain - DNS records without subdomains are required to be transferred → Vercel does not require transfer of DNS records without subdomains(A record)

14.

Deployment - Manual builds on demand, even when auto-deploy is enabled → Redeploying from the latest build is time-consuming → Running “Deploy hooks” while accessing the dashboard is time-consuming

15.

Thank you for your time 😊

16.

2023/04/05(水) 19:00 〜 21:00