mirror of
https://github.com/logos-messaging/docs.waku.org.git
synced 2026-01-07 07:13:12 +00:00
* add js-waku outline * add js-waku quickstart * add waku-create-app guide * add lightpush filter guide * add complete relay guide * initial feedback + add emitSelf * add store guide outline * add store query options * update code snippets
1.7 KiB
1.7 KiB
| title |
|---|
| Bootstrap DApps Using @waku/create-app |
This guide provides detailed steps to bootstrap your next js-waku project from various example templates using the @waku/create-app package.
Usage
Initialize a new js-waku template using any of the following methods:
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
npx @waku/create-app [PROJECT DIRECTORY]
npm init @waku/app [PROJECT DIRECTORY]
yarn create @waku/app [PROJECT DIRECTORY]
Next, select a template to initialize your app from:
:::tip
If you have previously installed @waku/create-app globally, we recommend uninstalling the package to ensure that npx always uses the latest version.
:::
Contributing New Templates
We welcome and appreciate the contributions of templates for the @waku/create-app package. To contribute a template, please follow these steps:
- Create the template, ensuring it is user-friendly and thoroughly tested.
- Place the template in the
examplesfolder in the js-waku-examples repository's root. - Commit your changes with a detailed message and push them to your forked repository.
- Finally, submit a pull request to the js-waku-examples repository.
- Our team will carefully review your submission and merge it upon approval.
