1
0
mirror of https://github.com/excalidraw/excalidraw.git synced 2024-11-10 11:35:52 +01:00
excalidraw/scripts
Aakansha Doshi 4f0a2a9593
docs: add next js with app router example (#7552)
* move the existing example to with-script-in-browser

* Add example with next js app router

* disable ssr for excalidraw client comp

* typo

* update output dir

* don't include nextjs example in tsconfig

* remove meta.json

* lint

* remove example.ts

* port

* move the examples outside packages and use the deps as workspaces in examples

* update gitignore

* fix example

* update path of build dir

* fix

* fix scripts

* try local path

* fix

* update commands

* fix

* fix

* fix script

* skip ts

* disable ts

* add vercel.json

* install

* update tsconfig

* fix lint

* remove console.log

* lets see if this works

* revert

* remove ts nocheck

* add types and some utils in nextjs example

* fix types

* updatw example and remove nextjs dynamic syntax so we don't import excal twice

* move both examples to workspaces and create generic example to be used by browser and next js both

* copy the static assets to nextjs

* fix ts config

* render custom menu items

* fix custom footer

* fix types in browser example

* use regular imports for importing excal and import it using dynamic next js in app router instead

* Add example for pages router

* fix css discrepancies

* fix css

* configure output dir

* fix

* fix css

* rename to with-nextjs

* move components to examples/excalidraw/components
2024-01-24 17:07:54 +05:30
..
autorelease.js build: Welcome ESM and Bye Bye UMD (#7441) 2024-01-01 20:18:44 +05:30
build-locales-coverage.js build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
build-node.js build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
build-version.js feat: Track current version (#2731) 2021-01-10 20:48:12 +02:00
buildDocs.js docs: Integrate docusaraus for docs (#5482) 2022-07-26 16:34:12 +05:30
buildExample.mjs docs: add next js with app router example (#7552) 2024-01-24 17:07:54 +05:30
buildPackage.js build: Welcome ESM and Bye Bye UMD (#7441) 2024-01-01 20:18:44 +05:30
locales-coverage-description.js build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
prerelease.js build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
release.js build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
updateChangelog.js build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30