Skip to content

pep108/create-windi-mithril-app

Repository files navigation

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

About

A project to get started with Mithril and Windi CSS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published