Giter Site home page Giter Site logo

example-simple-doc's Introduction

Design systems with Atomico

Español English

This configuration allows a dynamic development based on the export from html and markdows files, using the npm start scripts you can develop components that are displayed by the browser Thanks to a server with console-taught local livereload, by default it can be hosted on the localhost:8000 port.

Directory

/src
    /components # Directory for webcomponents
        /atomico-counter # Example of component with Atomico
            atomico-counter.js
            atomico-counter.css
            atomico-counter.md  # component documentation
    index.html # Html file to serve on the server

files exported from html are stored processed in /docs(Friendly with github pages 😎), you can change this effect by modifying thescripts of package.json.

Scripts

npm start

Initialize a developing server for the files that are exported from the html files in the src/**/*.{md,html} directory.

npm run build

Create the export bundle from the html files.

npm run build:npm

Package for distribution in NPM all the components of the src/components directory, these are exported as separate files.

remember to distribute in npm you must modify the package.json.

npm run create:component

Create a component in the src/components directory with the recommended structure Atomico.

npm run create:hook

Create a hook in the src/hooks directory with the recommended structure Atomico.

example-simple-doc's People

Contributors

uppercod avatar

Watchers

James Cloos avatar

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.