webpack-components
webpack组件如何使用Webpack创建React组件的示例。运行/开发npm install -g webpack-dev-server bin/webpack-server.sh然后访问并加载index.htm 。文件由Webpack热加载。添加组件使用index.js和index.styl将一个文件夹添加到components directory (复制现有组件)。将新组件添加到styles.styl和components/ComponentRenderer.js 。使用组件数据文件夹中的文件使用JSON格式指定UI。当前正在使用的文件在main.js中配置
141.2KB
文件大小:
评论区