This app shows how to integrate the <webview /> block into Devvit.
A full video tutorial explaining this source code is available here.
You can also read explanations about the source code in our documentation
-
Change the
@devvit/public-apireference in this project.npm install --save @devvit/public-api@0.11.3 -
Change Devvit project configuration Edit
devvit.yamlto give a unique name to your project -
Install dependencies
npm install -
Upload app
devvit upload -
Playtest
devvit playtest r/<your-subreddit>