mingfang / next-openblocks-test

test nextjs with openblocks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This repo is to demonstrate the problem with using Openblocks-SDK with NextJS.

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

To see the problem

  1. Open http://localhost:3000 with your browser to see the problem.
  2. Open http://localhost:3000/dynamic to see a partial workaround using dynamic import. Note now we see Error: Cannot find module 'https://unpkg.com/openblocks-comps@latest/index.js'

About

test nextjs with openblocks


Languages

Language:CSS 86.0%Language:TypeScript 12.6%Language:JavaScript 1.5%