
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@thirdweb-dev/create-tw-app
Advanced tools
The easiest way to get started with thirdweb is by using create-tw-app
. This CLI tool enables you to quickly start building a new thirdweb application, with everything set up for you. You can create a new app using one the defaults thirdweb templates, or by using one of the official thirdweb examples. To get started, use the following command:
npx create-tw-app@latest
# or
yarn create tw-app
# or
pnpm create tw-app
This will prompt you to choose between "Next.js", "Create React App" and "Vite". You can also pass them as a flag:
npx create-tw-app --next
# or
npx create-tw-app --cra
# or
npx create-tw-app --vite
This will also prompt you to choose between TypeScript or JavaScript, you can also pass them as a flag:
npx create-tw-app --typescript
# or
npx create-tw-app --javascript
You can also use the shortcute --js
or --ts
.
An example of using both flags at the same time:
npx create-tw-app --next --ts`
To create a new app in a specific folder, you can send a name as an argument. For example, the following command will create a new Next.js app called thirdwebb-app
in a folder with the same name:
npx create-tw-app@latest tw-app
# or
yarn create tw-app tw-app
# or
pnpm create tw-app tw-app
One example of using the --example
flag:
npx create-tw-app@latest --example custom-minting-page
# or
yarn create tw-app --example custom-minting-page
# or
pnpm create tw-app --example custom-minting-page
create-tw-app
comes with the following options:
yarn create tw-app
pnpm create tw-app
create-tw-app
allows you to create a new thirdweb app within seconds. It is officially maintained by the creators of thirdweb, and includes a number of benefits:
npx create-tw-app
(with no arguments) launches an interactive experience that guides you through setting up a project.npx create-tw-app --example contract-hub
).The simplest way to work on the CLI locally is to:
npm install -g ./
yarn dev
FAQs
Create thirdweb apps with one command
The npm package @thirdweb-dev/create-tw-app receives a total of 2 weekly downloads. As such, @thirdweb-dev/create-tw-app popularity was classified as not popular.
We found that @thirdweb-dev/create-tw-app demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.