Coder Social home page Coder Social logo

website-ui's Introduction

knotel-website-ui

Made with create-react-library

NPM JavaScript Style Guide

Install

npm install --save knotel-website-ui

Usage

import React, { Component } from "react";

import MyComponent from "knotel-website-ui";
import "knotel-website-ui/dist/index.css";

class Example extends Component {
  render() {
    return <MyComponent />;
  }
}

Package

  1. check the package.json to see what the version is
  2. update package.json's version to the next version e.g. 1.4.15 -> 1.4.16 (this is very important--otherwise it gets detected as the same NPM module version)
  3. from the root dir run yarn run build
  4. manually crete a folder called "package" and copy/paste the package.json, readme.md, and dist folder into it
  5. from the root dir, run: tar -cvzf knotel-website-ui-v1.4.16.tgz package/
  6. publish
  7. update new-website with new reference
  8. fin

Autopackage

  1. update package.json to new verison
  2. (if never done before): invoke in bash the following to enable execution of the script chmod +x maketar.sh
  3. invoke in bash: ./maketar.sh 1.6.4 where the version matches the package.json version
  4. commit the files and push
  5. if this is a production release, create a new tag and include that

License

MIT ©

Salesforce integration

The salesforce team (Dheeconsulting) will provide a form element. Convert the form in src/components/ContactForm/index.js to match the form components. Do not just copy paste the form in. you will get an unstyled form.

website-ui's People

Contributors

orsunmigbare avatar jreussernewmark avatar pixleight avatar overthrowdigital avatar

Watchers

 avatar  avatar  avatar davidnestoff avatar

website-ui's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.