Skip to content
Permalink
Browse files

Update Riot README (#436)

* add riot example

* update manifest

* update riot README
  • Loading branch information...
msweeneydev committed Jul 22, 2019
1 parent 6baa05e commit b9d5f789891df6cbe2ae27aa68e8f66a55a91b37
Showing with 12 additions and 14 deletions.
  1. +12 −14 riot/README.md
@@ -1,21 +1,19 @@
# Webpack
# Riot Example

This is a simple example of using webpack with riot. It uses webpack loader [@riotjs/webpack-loader](https://www.npmjs.com/package/@riotjs/webpack-loader).
This directory is a brief example of a [Riot.js](https://riot.js.org/) app that can be deployed to ZEIT Now with zero configuration.

## Run locally
## How we created this example

Download or clone this repo.
To get started with Riot on Now, you can use the [Now CLI](https://zeit.co/download) to initialize the project:

Install packages.

```bash
$ npm install
```shell
$ now init riot
```
And then run the server using `webpack-dev-server` or any possible way you know

```bash
$ npm start
```
## Deploying this Example

Once initialized, you can deploy the Riot example with just a single command:

- Open [http://localhost:3000/](http://localhost:3000/)
- Open [http://localhost:3000/webpack-dev-server/](http://localhost:3000/webpack-dev-server/) for dev server with hot reloading.
```shell
$ now
```

1 comment on commit b9d5f78

@now

This comment has been minimized.

Copy link

commented on b9d5f78 Jul 22, 2019

Please sign in to comment.
You can’t perform that action at this time.