basic-imba/README.md

32 lines
635 B
Markdown

# Hello World Imba
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.
## 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
```bash
# start webpack-dev-server and compiler
yarn run dev # npm run dev
```
### Server side
```
./node_modules/.bin/imba src/server.imba
```
[0]: https://github.com/css-modules/css-modules
[1]: https://github.com/imba/hello-world-imba/generate