react-photon
v1.0.5
Published
Photon components built with React.
Downloads
14
Readme
react-photon
Photon components built with React.
thanks to
@frostney Add me to the developer of react-photon
.
preview
- https://afeiship.github.io/react-photon/
installation
npm i -S react-photon
dynamic import
install
babel-plugin-import
npm i -D babel-plugin-import
.babelrc
{
"presets": ["@babel/preset-env", "@babel/react"],
"plugins": [
// ....
[ "import", { "libraryName": "react-photon", "libraryDirectory": "dist/lib" } ]
]
}
resources
- http://photonkit.com/
- https://www.robinwieruch.de/minimal-react-webpack-babel-setup
- https://vuikit.js.org/guide/introduction