A very crude example of swapping out different JSON files and jamming it into data-binding.
Create a local site named:
Then from the root of the project (where the main
component.json file is):
component installto pull down all the awesome dependencies.
component buildto bundle these up into a juicy script.
But I dont want to call my local site that
If you need to create a different address for this local site, make sure the paths are updated in the following scripts.
Then from the root of this directory run
Make some changes
If you wish to update any scripts, just run
component build after to ensure your changes
were added to the
This doesnt apply to HTML or CSS.
proof of concept
Thats all this example is. I'm aware the router is a bit dodgy and some of the script is messier than Joaquin Phoenix's beard.