Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kkeeth/riotjs-starter-kit


https://github.com/kkeeth/riotjs-starter-kit

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# 🚧 This repo is WIP 🚧

## riotjs-starter-kit

[![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/k-kuwahara/riotjs-starter-kit/blob/master/LICENSE)

With this starterkit we want to provide **a simple foundation for Riot applications**. We are using the riot router and a flux inspired event controller called RiotControl.

If you have any ideas on how to improve/simplify the structure you are welcome to help us.

This starterkit is based on:

* [Riot](https://riot.js.org)
* [riotx](https://github.com/cam-inc/riotx)
* [Sass](http://sass-lang.com/)
* [Buble](https://gitlab.com/Rich-Harris/buble)

Bundle modules:

* [Gulp](https://gulpjs.com/)
* [Webpack](https://webpack.js.org/)
* [Rollup](https://rollupjs.org/)

## Get the kit

```bash
$ git clone [email protected]:k-kuwahara/riotjs-starter-kit.git && cd riotjs-starter-kit
```

## Installation

```bash
# this is an example of rollup
$ cd rollup
$ npm install
```

## Development

```bash
$ npm run dev
```

Now the server is runnning on localhost:1337

## Build

```bash
$ npm run build
```

Thanks to https://github.com/txchen/feplay/tree/gh-pages/riot_webpack for a lot of concepts on how to structure the app.