import Head from 'next/head'; import Link from "next/link"; import { read } from 'xlsx'; import base64 from "@/sheetjs.xlsx"; export default function Index({type, snames}) { return ( <>
This demo reads from /sheetjs.xlsx
Each worksheet maps to a path:
Sheet Name | URL |
---|---|
{sname} | /sheets/{idx} |