focusjs-components
focusjs-components
npm i focusjs-components
focusjs-components

focusjs-components

Version 2. A set of web components based on material design to build modern interfaces easily. New version 3 is available

by KleeGroup

0.6.2 (see all)License:MITTypeScript:Not Found
npm i focusjs-components
Readme

focus-components

NPM

Join the chat at https://gitter.im/KleeGroup/focus-components

Build Status

Components for focus application.

Components

Sources

All the source code is in src.

component spec

Component example structure, with all the directories ans sub directories.

  • index.js : the component entry point.
  • style: the style of the component should be written in sass.
  • assets: all the components assets
  • example: a example directory for your component, should have an index.html file. (see build section for more informations).
  • __tests__ : components unit tests

Build

  • First install the dependencies npm install, in case of any problem with a proxy or with node-gyp have a look at this gist
  • npm run build to trigger the complete build
  • npm run build:browser to trigger only the build for the browser

Component catalog

In order to build the catalog, your component must be describe under the components node in the package.json file.

"components": [
    {
      "name": "componentName",
      "path": "componentPath"
    }
  ]

When your component has been added to this list, it will automatically be deployed as a single component and testable through the url: http://localhost:3000 using the static-server.js file. You can launch the examples with the command npm run example.

Unit test

In order to launch unit test: npm run test

CSS

FlexBox/

Lint

npm run lint in order to see your errors.

Downloads/wk

14

GitHub Stars

27

LAST COMMIT

NaNyrs ago

MAINTAINERS

2

CONTRIBUTORS

0

OPEN ISSUES

16

OPEN PRs

9
VersionTagPublished
0.6.2
latest
7yrs ago
No alternatives found
No tutorials found
Add a tutorial
No dependencies found

Rate & Review

100
No reviews found
Be the first to rate