# nextjs-godot

> Load a webassembly build of the Godot engine and Bootstrap packed games from within the react component tree.   Modified to work within NextJS

[![NPM](https://img.shields.io/npm/v/react-godot.svg)](https://www.npmjs.com/package/react-godot) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save nextjs-godot
```

## Usage

```tsx
import * as React from 'react'

import NextGodot from 'nextjs-godot'

class Example extends React.Component {
  render () {
    return (
      <NextGodot script='/path/to/myGame.js' pck='/path/to/myGame.pck' />
    )
  }
}
```

## License

MIT © [Shrag](https://github.com/Shragenator)
 original author: [d3dc](https://github.com/d3dc)
