This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 1,000,000+ packages pre-installed, including
@bbc/spartacus with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
A framework to help create both server-side and isomorphic rendering applications. Used by the BBC Articles team in their renderer simorgh which creates a single page application.
This is a private npm package released on the BBC News npm registry as
The default branch of this repo is
This was born from a need to make simorgh more re-usable cross teams. Therefore, it's intial goal for MVP is to increase sharability by abstracting out re-usable parts of simorgh. In the future this can be improved to allow more flexible setups such as using Sass instead of Styled Components OR bespoke webpack overrides OR even one day rendering something other than React.
Hello world app - This application is an example of how
SPArtacus can be used to create a universal react application.
It details the files needed and how to use this library.
If you want to test changes to SPArtacus on your local setup you will need link the application like so:
npm link ../SPArtacus// link your application to your local SPArtacus
NB: Each time you make changes to SPArtacus/src you will need to run
npm run build for YOUR_APP to pick up the new changes.
npm run build