basic-imba/README.md

32 lines
635 B
Markdown
Raw Normal View History

# Hello World Imba
2015-08-16 15:52:04 +02:00
Tiny template for testing out Imba using [CSS modules][0]. Click [Use this
template][1] on GitHub to create a new repository with this template.
2015-08-16 15:52:04 +02:00
2016-01-16 10:29:42 +01:00
## Getting started
```
git clone https://github.com/imba/hello-world-imba
cd hello-world-imba
yarn # npm install
```
You can run the app in two ways, either served via the webpack-dev-server or
Express.
### Webpack
2016-01-16 10:29:42 +01:00
```bash
2018-02-09 15:58:42 +01:00
# start webpack-dev-server and compiler
yarn run dev # npm run dev
```
### Server side
```
./node_modules/.bin/imba src/server.imba
2016-01-16 10:29:42 +01:00
```
[0]: https://github.com/css-modules/css-modules
[1]: https://github.com/imba/hello-world-imba/generate