Video Guide: https://vimeo.com/995357601
This sample code is meant for OneJS users.
npm install fortnite-sample
- Setup
SampleCharacter
in scene - Add
tailwind
stylesheet to ScriptEngine - Test the
<FortniteSample />
preact comp like below:
import { h, render } from "preact"
import { FortniteSample } from "fortnite-sample"
const App = () => {
return <FortniteSample />
}
render(<App />, document.body)