@camomile/camomile-ui

UI Component library for Camomile

Stats

StarsIssuesVersionUpdatedCreatedSize
@camomile/camomile-ui
140.1.253 years ago4 years agoMinified + gzip package size for @camomile/camomile-ui in KB

Readme

Camomile UI

npm version Dependency Status Build Status codecov

UI component library for Camomile.

Camomile UI is a front end application only and requires a connection to a Camomile API server.

To start using this library, you can use camomile-ui-boilerplate.


Npm scripts

# Install dependencies.
npm install

# Serve with hot reload at localhost:8080 (with Webpack).
npm run dev

# Build for production with minification (with Rollup).
npm run build

# Run tests (with Jest and vue-test-utils).
npm run test

Create a local Camomile API server

For development purposes, you can create a local Camomile API server.

Create one additional camomile-data folder next to this one, resulting in the following structure:

.
+-- camomile-ui
+-- camomile-server
+-- camomile-data
    +-- mongodb
        +-- files
    +-- camomile
        +-- logs
    +-- media
    +-- upload

Start the server (from the camomile-ui directory):

export CMML_DB=../camomile-data/mongodb/files && export CMML_LOGS=../camomile-data/camomile/logs && export CMML_MEDIA=../camomile-data/media && export CMML_UPLOAD=../camomile-data/upload && export CMML_PORT=3000 && export CMML_PASSWORD=roO7p4s5wOrD && docker-compose -f ../camomile-server/docker-compose.dev.yml up --build -d

Contributing

See contributing.md for further infos.


Credits

Production

Development

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.