imba / hello-world-imba-sfc

Barebones Imba example using SFC

Home Page:https://hello-world-imba-sfc.netlify.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hello World Imba SFC

Tiny template for testing out Imba SFC. The project is based on the hello-world-imba template.

This example uses vanilla CSS to show scoped and global examples which was introduced in Imba v1.5.1.

Getting started

git clone https://github.com/imba/hello-world-imba-sfc
cd hello-world-imba-sfc
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

About

Barebones Imba example using SFC

https://hello-world-imba-sfc.netlify.com


Languages

Language:HTML 100.0%