FADL285 / astro-workshop

This is the repo for the Astro course on Frontend Masters.. In this workshop, we'll be building a small business site that uses several of the common workflows that many (most?) websites end up following.

Home Page:https://astro-vue-shop.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Astro Workshop

This is the repo for the Astro course on Frontend Masters.. In this workshop, we'll be building a small business site that uses several of the common workflows that many (most?) websites end up following.

Frontend Masters

Setup

We recommend using Node version 18 for this course.

git clone https://github.com/fadl285/astro-workshop.git
cd astro-workshop
npm install
npm run dev

What are we building?

Small business site that uses several of the common workflows that many (most?) websites end up following.

  • Marketing landing page
    • Hero images
      • Image handling
    • Cards
      • Featured Products
    • Newsletter capture
  • Shop
    • Advanced layout (nested)
    • Shared state
      • Vue JS cart component
      • Vue JS item buttons (add to cart) component
      • Nano stores to share state
  • Blog
    • Content Collections
      • Markdown
    • Dynamic routes
    • RSS feed
  • About
    • Markdown page
  • 404 page

Features that Course Cover

  • Initializing a new Astro site
  • Local development
  • Pages
    • Supported file types
      • Astro
      • Markdown
      • HTML
    • Basic routing
    • Links
    • Custom 404 pages
  • Astro components
    • Frontmatter
    • Slots
  • Layouts
    • Basic layouts
    • Advanced layouts
  • Fetching data
    • Using fetch in Astro and other components
    • Loading API data
    • Loading from a headless CMS
  • Styling
    • Styling in Astro components
      • Scoped styles
      • Global styles
    • Astro goodies for CSS
      • class:list
      • define:vars
    • Importing stylesheets
      • local
      • npm packages
    • In frameworks:
      • CSS modules
  • Dynamic routes
    • When you want to render pages once at build time
  • Pagination
  • Content Collections
    • Basic setup and config
      • Defining a schema
      • Custom slugs
    • Using collections to build pages
      • Listing pages
      • Full entry pages
  • Endpoints
    • RSS
    • APIs
      • Static
  • SSR Mode
    • Dynamic routing
      • When you want to render pages on every request
    • API endpoints
  • Image handling
    • The assets directory
  • Hydrating JS components
    • client:* directives
    • Using multiple frameworks
    • Sharing state between islands
    • Sharing state between frameworks

About

This is the repo for the Astro course on Frontend Masters.. In this workshop, we'll be building a small business site that uses several of the common workflows that many (most?) websites end up following.

https://astro-vue-shop.netlify.app/


Languages

Language:Astro 48.8%Language:CSS 24.3%Language:Vue 13.4%Language:TypeScript 6.5%Language:HTML 5.9%Language:JavaScript 1.1%