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
-
Requirements
-
Install in the consumer project
npm install -D @placetopay/spartan-vue @tailwindcss/forms
-
Configure your
tailwind.config.js
add thepresets
key and content element for the packagemodule.exports = { content: [ //... "node_modules/@placetopay/spartan-vue/dist/*.js", ] presets: [require("@placetopay/spartan-vue/tailwindcss.js")], };
Developing
-
Requirements
-
Clone the repository
git clone git@github.com:placetopay-org/spartan-vue.git
-
Install dependencies
npm install
cp .env.example .env
-
Run the project
npm run dev:storybook
-
Open the project in your browser
http://localhost:6006
-
Happy coding!