@toucantoco/components

0.1.0-alpha.16 • Public • Published

Toucan components

Base building blocks of Toucan Toco apps.

Overview

This package exposes Vue components for use in other Toucan Toco projects. We use vue-cli as build system and tooling. Demo and documentation can be found on https://tc-components.edlb.dev.

Pre-requisites

node and yarn are required to run the following commands.

Alternatively, the yarn commands can be executed in a Docker container, like node:latest:

docker run -iv $PWD:/tc-components -w /tc-components -t node:latest yarn <command>

Build

yarn build exports transpiled JS files in the dist/ folder, prior to publication.

The public API is exposed in src/main.js. Export all usable components and utility functions in there.

Develop

yarn serve locally serves the doc site.

To execute the serve command using Docker, the -p option must be added:

docker run -ip 8080:8080 -v $PWD:/tc-components -w /tc-components -t node:latest yarn serve

Readme

Keywords

none

Package Sidebar

Install

npm i @toucantoco/components

Weekly Downloads

1

Version

0.1.0-alpha.16

License

MIT

Unpacked Size

2.66 MB

Total Files

9

Last publish

Collaborators

  • toucantokar
  • davinov
  • rhuille