Skip to content

Latest commit

 

History

History
60 lines (45 loc) · 1.22 KB

README.md

File metadata and controls

60 lines (45 loc) · 1.22 KB

Installation

yarn

Start Dev Server

yarn start

Build Prod Version

yarn build

yarn preview

Deployment

Edit the config in gulpfile.js. Then you can run:

yarn deploy-dev

or

yarn deploy-prod

Using the Form

See /src/views/Login/LoginForm.jsx for a complete example.

Using the InputField

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'
/>

Features:

  • Rendering & Routing via mithril
  • ES6 Support via babel (v7)
  • Utility CSS via windicss
  • Form Support via powerform, custom Formi wrapper and reusable form components
  • Lightening Fast Build via vitejs
  • Beautiful Icons via feather
  • AWS Deployment via gulp
  • Linting via standardJS
  • Light and Dark modes