Title: [SOLVED] How to start? Post by: Pierre on December 31, 2018, 03:49:24 AM Hello
I want to try React version but have no idea how to start. Here https://www.jeasyui.com/documentation5/index.php I can see some steps.. 1. I installed it using npm install rc-easyui --save 2. I created index.css file and put this inside: @import '~rc-easyui/dist/themes/default/easyui.css'; @import '~rc-easyui/dist/themes/icon.css'; @import '~rc-easyui/dist/themes/react.css'; 3. I created App.js and put whole code frominstructions: import React from 'react'; import { DataGrid, GridColumn } from 'rc-easyui'; .... now what? where is index.html file and how to actually run this sample? Thank you. Title: Re: How to start? Post by: jarry on December 31, 2018, 07:15:10 AM Please install 'create-react-app' and run it to create a new app. Enter the app directory and then follow this instruction to install EasyUI for React. https://www.jeasyui.com/documentation5/index.php
Code: npm install -g create-react-app Title: Re: How to start? Post by: Pierre on December 31, 2018, 09:06:51 AM OK thank you so much.
|