Skip to content

jcpst/template-meiosis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

A SPA boilerplate. Uses:

Features include:

  • hot-reloading dev server
  • production build with:
    • uglify
    • removal of unused CSS
  • auto-formatting
  • gh-pages deployment (example: this template)

Example deployed here.

Why

I like small libraries, where reading the source code is pleasant. Compose a few of these together and you can have a powerful foundation with a deep understanding of what the guts are doing.

This is copied from from my hyperapp template, which is based off minimal-react-webpack-babel-setup .

Usage

  • npx degit jcpst/template-meiosis my-new-project
  • cd my-new-project
  • npm i
  • npm start

Then hit up port 8080 and start hacking away!

Format with: npm run format

Structure

TODO: No tests yet. Add what you like to use!

I took inspiration from playing around with Vue and the idea of a single file components. So I have the state, actions and view in the same file. I find it more pleasant to navigate than switching between several buffers.

About

Based on the tutorial for Meiosis, a state management pattern https://meiosis.js.org/

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published