@placetopay/spartan-vue
TypeScript icon, indicating that this package has built-in type declarations

1.1.4 • Public • Published

Spartan VueJs

SpartanVue is a vue component library that contains the components used in the PlacetoPay web applications based in TailwindCSS.

Desing system

You can find the documentation and components of this design system by clicking here.

Installing

  1. Requirements

    • NodeJs ^16 or NVM (for use multiple versions of nodejs)
    • NPM ^7
    • Github personal access token with "read:packages" permissions
  2. Install in the consumer project

    npm install -D @placetopay/spartan-vue @tailwindcss/forms
  3. Configure your tailwind.config.js add the presets key and content element for the package

    module.exports = {
       content: [
          //...
          "node_modules/@placetopay/spartan-vue/dist/*.js",
       ]
       presets: [require("@placetopay/spartan-vue/tailwindcss.js")],
    };

Developing

  1. Requirements

    • NodeJs 16
    • NPM 7
    • Set ssh key in your github account
  2. Clone the repository

    git clone git@github.com:placetopay-org/spartan-vue.git
  3. Install dependencies

    npm install
    cp .env.example .env
  4. Run the project

    npm run dev:storybook
  5. Open the project in your browser

    http://localhost:6006
  6. Happy coding!

Readme

Keywords

none

Package Sidebar

Install

npm i @placetopay/spartan-vue

Weekly Downloads

66

Version

1.1.4

License

none

Unpacked Size

3.03 MB

Total Files

153

Last publish

Collaborators

  • juanzea
  • placetopay-dev
  • eduarguz
  • alexandrecr