GithubHelp home page GithubHelp logo

alisa1711 / vue-design-system-example Goto Github PK

View Code? Open in Web Editor NEW

This project forked from arielsalminen/vue-design-system-example

0.0 1.0 0.0 286 KB

Simplified example project on how to use Vue Design System as an NPM Dependency

Home Page: https://vueds.com

HTML 8.43% Vue 8.07% JavaScript 83.50%

vue-design-system-example's Introduction

Using Vue Design System as an NPM Dependency

Testing from a remote repository

  1. Clone this repository
  2. Run rm -rf node_modules && npm install
  3. Now you can run npm run dev to test that the design system build and its components work.
  4. When you’re ready to start testing your own system library, switch the vue-design-system dependency in the package.json to point to your own private repository.

Testing things locally

  1. Build your design system first for production by running npm run build:system inside the vueds project.
  2. After done, switch to this project and run first rm -rf node_modules to make sure the temporary local installation won’t cause issues (if doing a direct clone of this repo, remove also this line from package.json: "vue-design-system": "file:../vue-design-system").
  3. Now install the system locally by running npm install --save file:/Users/viljamis/code/vue-design-system (modify the path to match your own system).
  4. Once you’ve installed the design system, run npm install to install the rest of the dependencies.
  5. Now you can run npm run dev to test that your design system build and its components work.
  6. If everything works you should probably move your system to a private GitHub repository and do the NPM install directly from that repo (see the steps above).

vue-design-system-example's People

Contributors

arielsalminen avatar

Watchers

 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.