Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Latest commit

 

History

History
15 lines (10 loc) · 734 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 734 Bytes

Stencil within Next.js App Router Project

This project demonstrates approaches for integrating Stencil Web Components into a Next.js app directory with the help of our custom Stencil output target plugin.

Live Demo: stencil-nextjs-example-app.vercel.app

Local Setup:

  • Install dependencies: npm ci
  • Start development server: npm run dev:app
  • Start with production build: npm run start:app
  • Open browser: http://localhost:3000

Tip

Disable JavaScript and reload the page to see the difference between the rendered components.