yarn
yarn start
yarn build
yarn preview
Edit the config in gulpfile.js. Then you can run:
yarn deploy-dev
or
yarn deploy-prod
See /src/views/Login/LoginForm.jsx for a complete example.
Ensure that you pass formi to the InputField to take advantage of default value, input & error behavior. To override the default behavior, just pass in your own value, oninput or error attributes or omit the formi attribute all together.
<InputField
formi={formi}
label='Email'
name='email'
placeholder='[email protected]'
type='email'
/>