@marcusnotheis/babel-plugin-ui5-webcomponents-react-nextjs

1.0.0 • Public • Published

babel-plugin-ui5-webcomponents-react-nextjs

Babel Plugin to allow the usage of UI5 Web Components for React in Next.js

Usage

Prerequisite: you have created a Next.js app, e.g. by using create-next-app.

  1. Install the babel-plugin:
npm install @marcusnotheis/babel-plugin-ui5-webcomponents-react-nextjs --save-dev
  1. Create .babelrc in the root of your project with the following content:
{
  "presets": ["next/babel"],
  "plugins": ["@marcusnotheis/babel-plugin-ui5-webcomponents-react-nextjs"]
}

That's it 🎉. You can now run your app by starting npm run dev.

Readme

Keywords

none

Package Sidebar

Install

npm i @marcusnotheis/babel-plugin-ui5-webcomponents-react-nextjs

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

5.74 kB

Total Files

4

Last publish

Collaborators

  • marcusnotheis