a basic Imba App derived from hello-world-imba
Go to file
Alexander Alemayhu f1bd921d03 Use CSS modules
CSS modules make it easier to scope classes. Your style sheets can be
modular and reusable. To learn more about CSS modules, see[0].

I would like to start using single file components where all of the code
required for a specific components is provided inside of a single Imba
file. Using CSS modules is just a step towards that.

Related-to: https://github.com/imba/imba/issues/220

[0]: https://github.com/css-modules/css-modules
2019-10-14 10:02:52 +02:00
dist Use CSS modules 2019-10-14 10:02:52 +02:00
src Use CSS modules 2019-10-14 10:02:52 +02:00
.editorconfig Add editorconfig 2018-04-12 11:18:36 +02:00
.gitignore Update example for Imba 1.3 2018-02-09 15:58:42 +01:00
README.md Use CSS modules 2019-10-14 10:02:52 +02:00
package.json Use CSS modules 2019-10-14 10:02:52 +02:00
webpack.config.js Use CSS modules 2019-10-14 10:02:52 +02:00
yarn.lock Use CSS modules 2019-10-14 10:02:52 +02:00

README.md

Hello World Imba

Tiny template for testing out Imba using CSS modules. Click Use this template 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

# start webpack-dev-server and compiler
yarn run dev # npm run dev

Server side

./node_modules/.bin/imba src/server.imba