Skip to content
dev
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

parlacards

Embedable cards for Parlameter.

TODO: Rename repo to parlacards


Card development

Download project

Clone the git repository and run:

git config submodule.parlassets.branch ljubljana
git submodule update --init --recursive --remote

Install dependencies

yarn

Run dev server

To develop cards run this command. It will run the card dev server on http://localhost:3000/ by default.

yarn dev

To develop the server that serves the server-side rendered cards run this command. It will run the server on http://localhost:7004/ by default. Note that you need to have built the cards with yarn build at least once before.

yarn start:watch

See also:


Build and run production server

Install dependencies

yarn

Build

This will build:

  • client js
  • server bundles needed for SSR
  • locale markdown files
yarn build

Run server

This runs the production server that will render and serve built cards.

yarn start

About

Parlameter parlanode component renders cards and makes them shareable and embeddable.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages