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

Repository files navigation

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.

About

This project shows how we got Stencil Web Components working inside the Next.js app directory.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages