Skip to content

Commit

Permalink
Update Showcases
Browse files Browse the repository at this point in the history
  • Loading branch information
mirko314 committed Oct 22, 2024
1 parent 3bf3353 commit b5cd3ea
Show file tree
Hide file tree
Showing 209 changed files with 14,215 additions and 0 deletions.
1 change: 1 addition & 0 deletions showcase-3d-mockup-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"@imgly/psd-importer": "^0.0.3",
"@imgly/plugin-background-removal-web": "^1.0.0",
"@imgly/plugin-cutout-library-web": "^1.0.4",
"@imgly/plugin-qr-code-web": "^0.1.0",
"@imgly/plugin-vectorizer-web": "^1.0.0",
"airtable": "^0.12.1",
"chroma-js": "^2.4.2",
Expand Down
5 changes: 5 additions & 0 deletions showcase-3d-mockup-editor/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1149,6 +1149,11 @@
dependencies:
lodash "^4.17.21"

"@imgly/plugin-qr-code-web@^0.1.0":
version "0.1.0"
resolved "https://registry.yarnpkg.com/@imgly/plugin-qr-code-web/-/plugin-qr-code-web-0.1.0.tgz#cb7276162bf7c34e8b6acce967c50a453cb582ce"
integrity sha512-4Jpry6iNp1AXR7FUcJV5bXJKVFG1iXVjSV6zwa0ETahkRj4qBKFpMWJpOAQHBvWviAdULitU9Wss43Fm/fKpRA==

"@imgly/plugin-vectorizer-web@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@imgly/plugin-vectorizer-web/-/plugin-vectorizer-web-1.0.0.tgz#4ddc52403c881ea9ec977da4b786b386b59cd02b"
Expand Down
1 change: 1 addition & 0 deletions showcase-advanced-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"@imgly/psd-importer": "^0.0.3",
"@imgly/plugin-background-removal-web": "^1.0.0",
"@imgly/plugin-cutout-library-web": "^1.0.4",
"@imgly/plugin-qr-code-web": "^0.1.0",
"@imgly/plugin-vectorizer-web": "^1.0.0",
"airtable": "^0.12.1",
"chroma-js": "^2.4.2",
Expand Down
5 changes: 5 additions & 0 deletions showcase-advanced-ui/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1149,6 +1149,11 @@
dependencies:
lodash "^4.17.21"

"@imgly/plugin-qr-code-web@^0.1.0":
version "0.1.0"
resolved "https://registry.yarnpkg.com/@imgly/plugin-qr-code-web/-/plugin-qr-code-web-0.1.0.tgz#cb7276162bf7c34e8b6acce967c50a453cb582ce"
integrity sha512-4Jpry6iNp1AXR7FUcJV5bXJKVFG1iXVjSV6zwa0ETahkRj4qBKFpMWJpOAQHBvWviAdULitU9Wss43Fm/fKpRA==

"@imgly/plugin-vectorizer-web@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@imgly/plugin-vectorizer-web/-/plugin-vectorizer-web-1.0.0.tgz#4ddc52403c881ea9ec977da4b786b386b59cd02b"
Expand Down
1 change: 1 addition & 0 deletions showcase-airtable-image-assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"@imgly/psd-importer": "^0.0.3",
"@imgly/plugin-background-removal-web": "^1.0.0",
"@imgly/plugin-cutout-library-web": "^1.0.4",
"@imgly/plugin-qr-code-web": "^0.1.0",
"@imgly/plugin-vectorizer-web": "^1.0.0",
"airtable": "^0.12.1",
"chroma-js": "^2.4.2",
Expand Down
5 changes: 5 additions & 0 deletions showcase-airtable-image-assets/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1149,6 +1149,11 @@
dependencies:
lodash "^4.17.21"

"@imgly/plugin-qr-code-web@^0.1.0":
version "0.1.0"
resolved "https://registry.yarnpkg.com/@imgly/plugin-qr-code-web/-/plugin-qr-code-web-0.1.0.tgz#cb7276162bf7c34e8b6acce967c50a453cb582ce"
integrity sha512-4Jpry6iNp1AXR7FUcJV5bXJKVFG1iXVjSV6zwa0ETahkRj4qBKFpMWJpOAQHBvWviAdULitU9Wss43Fm/fKpRA==

"@imgly/plugin-vectorizer-web@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@imgly/plugin-vectorizer-web/-/plugin-vectorizer-web-1.0.0.tgz#4ddc52403c881ea9ec977da4b786b386b59cd02b"
Expand Down
1 change: 1 addition & 0 deletions showcase-apparel-editor-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"@imgly/psd-importer": "^0.0.3",
"@imgly/plugin-background-removal-web": "^1.0.0",
"@imgly/plugin-cutout-library-web": "^1.0.4",
"@imgly/plugin-qr-code-web": "^0.1.0",
"@imgly/plugin-vectorizer-web": "^1.0.0",
"airtable": "^0.12.1",
"chroma-js": "^2.4.2",
Expand Down
5 changes: 5 additions & 0 deletions showcase-apparel-editor-ui/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1149,6 +1149,11 @@
dependencies:
lodash "^4.17.21"

"@imgly/plugin-qr-code-web@^0.1.0":
version "0.1.0"
resolved "https://registry.yarnpkg.com/@imgly/plugin-qr-code-web/-/plugin-qr-code-web-0.1.0.tgz#cb7276162bf7c34e8b6acce967c50a453cb582ce"
integrity sha512-4Jpry6iNp1AXR7FUcJV5bXJKVFG1iXVjSV6zwa0ETahkRj4qBKFpMWJpOAQHBvWviAdULitU9Wss43Fm/fKpRA==

"@imgly/plugin-vectorizer-web@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@imgly/plugin-vectorizer-web/-/plugin-vectorizer-web-1.0.0.tgz#4ddc52403c881ea9ec977da4b786b386b59cd02b"
Expand Down
1 change: 1 addition & 0 deletions showcase-apparel-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"@imgly/psd-importer": "^0.0.3",
"@imgly/plugin-background-removal-web": "^1.0.0",
"@imgly/plugin-cutout-library-web": "^1.0.4",
"@imgly/plugin-qr-code-web": "^0.1.0",
"@imgly/plugin-vectorizer-web": "^1.0.0",
"airtable": "^0.12.1",
"chroma-js": "^2.4.2",
Expand Down
5 changes: 5 additions & 0 deletions showcase-apparel-ui/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1149,6 +1149,11 @@
dependencies:
lodash "^4.17.21"

"@imgly/plugin-qr-code-web@^0.1.0":
version "0.1.0"
resolved "https://registry.yarnpkg.com/@imgly/plugin-qr-code-web/-/plugin-qr-code-web-0.1.0.tgz#cb7276162bf7c34e8b6acce967c50a453cb582ce"
integrity sha512-4Jpry6iNp1AXR7FUcJV5bXJKVFG1iXVjSV6zwa0ETahkRj4qBKFpMWJpOAQHBvWviAdULitU9Wss43Fm/fKpRA==

"@imgly/plugin-vectorizer-web@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@imgly/plugin-vectorizer-web/-/plugin-vectorizer-web-1.0.0.tgz#4ddc52403c881ea9ec977da4b786b386b59cd02b"
Expand Down
1 change: 1 addition & 0 deletions showcase-automated-resizing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"@imgly/psd-importer": "^0.0.3",
"@imgly/plugin-background-removal-web": "^1.0.0",
"@imgly/plugin-cutout-library-web": "^1.0.4",
"@imgly/plugin-qr-code-web": "^0.1.0",
"@imgly/plugin-vectorizer-web": "^1.0.0",
"airtable": "^0.12.1",
"chroma-js": "^2.4.2",
Expand Down
5 changes: 5 additions & 0 deletions showcase-automated-resizing/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1149,6 +1149,11 @@
dependencies:
lodash "^4.17.21"

"@imgly/plugin-qr-code-web@^0.1.0":
version "0.1.0"
resolved "https://registry.yarnpkg.com/@imgly/plugin-qr-code-web/-/plugin-qr-code-web-0.1.0.tgz#cb7276162bf7c34e8b6acce967c50a453cb582ce"
integrity sha512-4Jpry6iNp1AXR7FUcJV5bXJKVFG1iXVjSV6zwa0ETahkRj4qBKFpMWJpOAQHBvWviAdULitU9Wss43Fm/fKpRA==

"@imgly/plugin-vectorizer-web@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@imgly/plugin-vectorizer-web/-/plugin-vectorizer-web-1.0.0.tgz#4ddc52403c881ea9ec977da4b786b386b59cd02b"
Expand Down
1 change: 1 addition & 0 deletions showcase-background-removal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"@imgly/psd-importer": "^0.0.3",
"@imgly/plugin-background-removal-web": "^1.0.0",
"@imgly/plugin-cutout-library-web": "^1.0.4",
"@imgly/plugin-qr-code-web": "^0.1.0",
"@imgly/plugin-vectorizer-web": "^1.0.0",
"airtable": "^0.12.1",
"chroma-js": "^2.4.2",
Expand Down
5 changes: 5 additions & 0 deletions showcase-background-removal/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1149,6 +1149,11 @@
dependencies:
lodash "^4.17.21"

"@imgly/plugin-qr-code-web@^0.1.0":
version "0.1.0"
resolved "https://registry.yarnpkg.com/@imgly/plugin-qr-code-web/-/plugin-qr-code-web-0.1.0.tgz#cb7276162bf7c34e8b6acce967c50a453cb582ce"
integrity sha512-4Jpry6iNp1AXR7FUcJV5bXJKVFG1iXVjSV6zwa0ETahkRj4qBKFpMWJpOAQHBvWviAdULitU9Wss43Fm/fKpRA==

"@imgly/plugin-vectorizer-web@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@imgly/plugin-vectorizer-web/-/plugin-vectorizer-web-1.0.0.tgz#4ddc52403c881ea9ec977da4b786b386b59cd02b"
Expand Down
1 change: 1 addition & 0 deletions showcase-batch-image-generation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"@imgly/psd-importer": "^0.0.3",
"@imgly/plugin-background-removal-web": "^1.0.0",
"@imgly/plugin-cutout-library-web": "^1.0.4",
"@imgly/plugin-qr-code-web": "^0.1.0",
"@imgly/plugin-vectorizer-web": "^1.0.0",
"airtable": "^0.12.1",
"chroma-js": "^2.4.2",
Expand Down
5 changes: 5 additions & 0 deletions showcase-batch-image-generation/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1149,6 +1149,11 @@
dependencies:
lodash "^4.17.21"

"@imgly/plugin-qr-code-web@^0.1.0":
version "0.1.0"
resolved "https://registry.yarnpkg.com/@imgly/plugin-qr-code-web/-/plugin-qr-code-web-0.1.0.tgz#cb7276162bf7c34e8b6acce967c50a453cb582ce"
integrity sha512-4Jpry6iNp1AXR7FUcJV5bXJKVFG1iXVjSV6zwa0ETahkRj4qBKFpMWJpOAQHBvWviAdULitU9Wss43Fm/fKpRA==

"@imgly/plugin-vectorizer-web@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@imgly/plugin-vectorizer-web/-/plugin-vectorizer-web-1.0.0.tgz#4ddc52403c881ea9ec977da4b786b386b59cd02b"
Expand Down
1 change: 1 addition & 0 deletions showcase-content-moderation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"@imgly/psd-importer": "^0.0.3",
"@imgly/plugin-background-removal-web": "^1.0.0",
"@imgly/plugin-cutout-library-web": "^1.0.4",
"@imgly/plugin-qr-code-web": "^0.1.0",
"@imgly/plugin-vectorizer-web": "^1.0.0",
"airtable": "^0.12.1",
"chroma-js": "^2.4.2",
Expand Down
5 changes: 5 additions & 0 deletions showcase-content-moderation/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1149,6 +1149,11 @@
dependencies:
lodash "^4.17.21"

"@imgly/plugin-qr-code-web@^0.1.0":
version "0.1.0"
resolved "https://registry.yarnpkg.com/@imgly/plugin-qr-code-web/-/plugin-qr-code-web-0.1.0.tgz#cb7276162bf7c34e8b6acce967c50a453cb582ce"
integrity sha512-4Jpry6iNp1AXR7FUcJV5bXJKVFG1iXVjSV6zwa0ETahkRj4qBKFpMWJpOAQHBvWviAdULitU9Wss43Fm/fKpRA==

"@imgly/plugin-vectorizer-web@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@imgly/plugin-vectorizer-web/-/plugin-vectorizer-web-1.0.0.tgz#4ddc52403c881ea9ec977da4b786b386b59cd02b"
Expand Down
1 change: 1 addition & 0 deletions showcase-cutout-lines/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"@imgly/psd-importer": "^0.0.3",
"@imgly/plugin-background-removal-web": "^1.0.0",
"@imgly/plugin-cutout-library-web": "^1.0.4",
"@imgly/plugin-qr-code-web": "^0.1.0",
"@imgly/plugin-vectorizer-web": "^1.0.0",
"airtable": "^0.12.1",
"chroma-js": "^2.4.2",
Expand Down
5 changes: 5 additions & 0 deletions showcase-cutout-lines/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1149,6 +1149,11 @@
dependencies:
lodash "^4.17.21"

"@imgly/plugin-qr-code-web@^0.1.0":
version "0.1.0"
resolved "https://registry.yarnpkg.com/@imgly/plugin-qr-code-web/-/plugin-qr-code-web-0.1.0.tgz#cb7276162bf7c34e8b6acce967c50a453cb582ce"
integrity sha512-4Jpry6iNp1AXR7FUcJV5bXJKVFG1iXVjSV6zwa0ETahkRj4qBKFpMWJpOAQHBvWviAdULitU9Wss43Fm/fKpRA==

"@imgly/plugin-vectorizer-web@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@imgly/plugin-vectorizer-web/-/plugin-vectorizer-web-1.0.0.tgz#4ddc52403c881ea9ec977da4b786b386b59cd02b"
Expand Down
1 change: 1 addition & 0 deletions showcase-dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"@imgly/psd-importer": "^0.0.3",
"@imgly/plugin-background-removal-web": "^1.0.0",
"@imgly/plugin-cutout-library-web": "^1.0.4",
"@imgly/plugin-qr-code-web": "^0.1.0",
"@imgly/plugin-vectorizer-web": "^1.0.0",
"airtable": "^0.12.1",
"chroma-js": "^2.4.2",
Expand Down
5 changes: 5 additions & 0 deletions showcase-dashboard/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1149,6 +1149,11 @@
dependencies:
lodash "^4.17.21"

"@imgly/plugin-qr-code-web@^0.1.0":
version "0.1.0"
resolved "https://registry.yarnpkg.com/@imgly/plugin-qr-code-web/-/plugin-qr-code-web-0.1.0.tgz#cb7276162bf7c34e8b6acce967c50a453cb582ce"
integrity sha512-4Jpry6iNp1AXR7FUcJV5bXJKVFG1iXVjSV6zwa0ETahkRj4qBKFpMWJpOAQHBvWviAdULitU9Wss43Fm/fKpRA==

"@imgly/plugin-vectorizer-web@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@imgly/plugin-vectorizer-web/-/plugin-vectorizer-web-1.0.0.tgz#4ddc52403c881ea9ec977da4b786b386b59cd02b"
Expand Down
1 change: 1 addition & 0 deletions showcase-default-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"@imgly/psd-importer": "^0.0.3",
"@imgly/plugin-background-removal-web": "^1.0.0",
"@imgly/plugin-cutout-library-web": "^1.0.4",
"@imgly/plugin-qr-code-web": "^0.1.0",
"@imgly/plugin-vectorizer-web": "^1.0.0",
"airtable": "^0.12.1",
"chroma-js": "^2.4.2",
Expand Down
5 changes: 5 additions & 0 deletions showcase-default-ui/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1149,6 +1149,11 @@
dependencies:
lodash "^4.17.21"

"@imgly/plugin-qr-code-web@^0.1.0":
version "0.1.0"
resolved "https://registry.yarnpkg.com/@imgly/plugin-qr-code-web/-/plugin-qr-code-web-0.1.0.tgz#cb7276162bf7c34e8b6acce967c50a453cb582ce"
integrity sha512-4Jpry6iNp1AXR7FUcJV5bXJKVFG1iXVjSV6zwa0ETahkRj4qBKFpMWJpOAQHBvWviAdULitU9Wss43Fm/fKpRA==

"@imgly/plugin-vectorizer-web@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@imgly/plugin-vectorizer-web/-/plugin-vectorizer-web-1.0.0.tgz#4ddc52403c881ea9ec977da4b786b386b59cd02b"
Expand Down
1 change: 1 addition & 0 deletions showcase-design-validation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"@imgly/psd-importer": "^0.0.3",
"@imgly/plugin-background-removal-web": "^1.0.0",
"@imgly/plugin-cutout-library-web": "^1.0.4",
"@imgly/plugin-qr-code-web": "^0.1.0",
"@imgly/plugin-vectorizer-web": "^1.0.0",
"airtable": "^0.12.1",
"chroma-js": "^2.4.2",
Expand Down
5 changes: 5 additions & 0 deletions showcase-design-validation/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1149,6 +1149,11 @@
dependencies:
lodash "^4.17.21"

"@imgly/plugin-qr-code-web@^0.1.0":
version "0.1.0"
resolved "https://registry.yarnpkg.com/@imgly/plugin-qr-code-web/-/plugin-qr-code-web-0.1.0.tgz#cb7276162bf7c34e8b6acce967c50a453cb582ce"
integrity sha512-4Jpry6iNp1AXR7FUcJV5bXJKVFG1iXVjSV6zwa0ETahkRj4qBKFpMWJpOAQHBvWviAdULitU9Wss43Fm/fKpRA==

"@imgly/plugin-vectorizer-web@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@imgly/plugin-vectorizer-web/-/plugin-vectorizer-web-1.0.0.tgz#4ddc52403c881ea9ec977da4b786b386b59cd02b"
Expand Down
1 change: 1 addition & 0 deletions showcase-export-options/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"@imgly/psd-importer": "^0.0.3",
"@imgly/plugin-background-removal-web": "^1.0.0",
"@imgly/plugin-cutout-library-web": "^1.0.4",
"@imgly/plugin-qr-code-web": "^0.1.0",
"@imgly/plugin-vectorizer-web": "^1.0.0",
"airtable": "^0.12.1",
"chroma-js": "^2.4.2",
Expand Down
5 changes: 5 additions & 0 deletions showcase-export-options/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1149,6 +1149,11 @@
dependencies:
lodash "^4.17.21"

"@imgly/plugin-qr-code-web@^0.1.0":
version "0.1.0"
resolved "https://registry.yarnpkg.com/@imgly/plugin-qr-code-web/-/plugin-qr-code-web-0.1.0.tgz#cb7276162bf7c34e8b6acce967c50a453cb582ce"
integrity sha512-4Jpry6iNp1AXR7FUcJV5bXJKVFG1iXVjSV6zwa0ETahkRj4qBKFpMWJpOAQHBvWviAdULitU9Wss43Fm/fKpRA==

"@imgly/plugin-vectorizer-web@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@imgly/plugin-vectorizer-web/-/plugin-vectorizer-web-1.0.0.tgz#4ddc52403c881ea9ec977da4b786b386b59cd02b"
Expand Down
6 changes: 6 additions & 0 deletions showcase-form-based-template-adoption/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
NEXT_PUBLIC_URL=
NEXT_PUBLIC_URL_HOSTNAME=http://localhost:3000
NEXT_PUBLIC_LICENSE=vERESgSXbYj5Rs-FF4DzkMvhdQLh0Mxe6AD8V-doP6wqe_gmYmx_oUKqIlMkwpMu
NEXT_PUBLIC_CUSTOM_ASSET_LIBRARIES_AIRTABLE_API_KEY=
NEXT_PUBLIC_CUSTOM_ASSET_LIBRARIES_PEXELS_API_KEY=
NEXT_PUBLIC_ADD_CESDK_GLOBALS=true
19 changes: 19 additions & 0 deletions showcase-form-based-template-adoption/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"extends": "next",
"root": true,
"rules": {
"@next/next/no-img-element": "off",
"no-unused-vars": "off",
"unused-imports/no-unused-imports": "error",
"unused-imports/no-unused-vars": [
"warn",
{
"vars": "all",
"varsIgnorePattern": "^_",
"args": "after-used",
"argsIgnorePattern": "^_"
}
]
},
"plugins": ["unused-imports"]
}
36 changes: 36 additions & 0 deletions showcase-form-based-template-adoption/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).

## Getting Started

First, run the development server:

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.

This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.

## Learn More

To learn more about Next.js, take a look at the following resources:

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!

## Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
26 changes: 26 additions & 0 deletions showcase-form-based-template-adoption/next.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
webpack(config, { webpack }) {
config.module.rules.push({
test: /\.svg$/,
issuer: {
and: [/\.(js|ts)x?$/]
},

use: [{ loader: '@svgr/webpack' }]
});
// Temporary fix until the following fix is merged into our NextJS version: https://github.com/vercel/next.js/pull/65248
// Should be included in NextJS >= 14.2.6
config.plugins.push(
new webpack.DefinePlugin({
'process.env.NEXT_PUBLIC_URL': JSON.stringify(
process.env.NEXT_PUBLIC_URL ?? ''
)
})
);

return config;
}
};

export default nextConfig;
Loading

0 comments on commit b5cd3ea

Please sign in to comment.