/tailor-spa

Single Page Application prototype using Tailor.

Primary LanguageHTML

#tailor-spa

This is a RiotJS Single Page Application ported from riotcodesplit

Installation

npm install or yarn

Running fragment

Run the build step before starting the fragment server.

npm run build

Fragment server servers the bundles(JS/CSS) as per Tailor specification mentioned here.

npm run start-fragment

Fragment server starts at port 8084 and servers the assets from /public folder.

Running tailor

npm run start-tailor

Tailor will start on http://localhost:8080. Now go to home page on /home

  • Tailor servers the home page from the templates/home.html