0.21.0 • Published 27 days ago

@arcca/arcca-ds v0.21.0

Weekly downloads
-
License
-
Repository
gitlab
Last release
27 days ago

Arcca Design System

Using the arcca-ds package as a dependency in a Nuxt project

In order for the components to function properly, Vue and Vuetify must be installed as dependencies in the target project.

  1. Install the package via npm install @arcca/arcca-ds@stable for the production build or npm install @arcca/arcca-ds@beta for the development build
  2. In the project, create a file at plugins/design-system with the following code:
import Vue from 'vue';
import DesignSystem from 'arcca-ds';
import '@arcca/arcca-ds/dist/main.min.css';

Vue.use(DesignSystem);
  1. Import this plugin in the nuxt.config.js file:
plugins: [
  {
    src: '~/plugins/design-system'
  }
];

The components in the Design System library are registered globally on the Nuxt project, and so they will be available for use without the need to import them.

Run the styleguide

To run the styleguide and access the documentation, make sure that you have a local copy of the repository in your machine:

git clone https://gitlab.com/grupo-arcca/arcca-ds.git
cd arcca-ds

Then run

npm install
npm run styleguide

and open http://localhost:6060 in your browser.

Simultaneous development (for Arcca developers)

While you are developing your application, you may want to adapt the Design System on the fly. To do so without having to rebuid, re-publish and reinstall, you can use the relative-deps package:

  1. Make sure you have the Design System repo in your machine and install it with npm install
  2. Make sure to have "relative-deps" dependency globally installed (Ex: command "npm installl -g relative-deps")
  3. Go to your application repository and run
npx relative-deps add [PATH_TO_DESIGN_SYSTEM_REPO]
  1. You can now develop both of them simultaneously. To trigger a reload after a change in the Design System code, run npx relative-deps in your application directory.
  2. Make sure that you DO NOT commit any changes in package.json or package-lock.json files.

Publishing the Design System as a package (for Arcca developers)

You should only publish the package when working from the branches specified in the releases property in the package.json:

  • The stable tag refers to the latest version of the package that is ready to be used in production
  • The beta tag refers to the development branch and is suitable for testing purposes

If you working from either of the referred branches, you can safely publish the package with the command npm run publish:ds.

0.22.0-next.2

27 days ago

0.22.0-next.1

27 days ago

0.21.0-next.1

5 months ago

0.21.0

5 months ago

0.20.0

5 months ago

0.20.0-next.3

5 months ago

0.20.0-next.2

6 months ago

0.19.1

6 months ago

0.20.0-next.1

6 months ago

0.19.0

7 months ago

0.19.0-next.4

7 months ago

0.15.0-next.4

10 months ago

0.15.0-next.3

10 months ago

0.15.0-next.2

10 months ago

0.13.0

11 months ago

0.13.1

11 months ago

0.13.2

11 months ago

0.17.0

9 months ago

0.17.0-next.4

10 months ago

0.17.0-next.5

9 months ago

0.17.0-next.6

9 months ago

0.17.0-next.7

9 months ago

0.17.0-next.1

10 months ago

0.17.0-next.2

10 months ago

0.17.0-next.3

10 months ago

0.14.0

10 months ago

0.14.1

10 months ago

0.14.2

10 months ago

0.14.3

10 months ago

0.18.0

8 months ago

0.14.4

10 months ago

0.18.0-next.3

8 months ago

0.18.0-next.1

8 months ago

0.18.0-next.2

8 months ago

0.19.0-next.1

8 months ago

0.19.0-next.3

7 months ago

0.19.0-next.2

8 months ago

0.11.0

11 months ago

0.15.0

10 months ago

0.16.3

10 months ago

0.16.4

10 months ago

0.16.5

10 months ago

0.16.6

10 months ago

0.16.7

9 months ago

0.12.0

11 months ago

0.12.1

11 months ago

0.12.2

11 months ago

0.16.0

10 months ago

0.16.1

10 months ago

0.16.2

10 months ago

0.15.0-next.1

10 months ago

0.10.2

11 months ago

0.10.3

11 months ago

0.10.4

11 months ago

0.9.3

12 months ago

0.10.1

11 months ago

0.9.0-dev.3

11 months ago

0.10.0

11 months ago

0.8.3-0

1 year ago

0.8.1-0

1 year ago

0.9.0

1 year ago

0.9.2

12 months ago

0.9.1

1 year ago

0.7.10

1 year ago

0.7.9

1 year ago

0.7.8

1 year ago

0.9.0-alpha.1

1 year ago

0.9.0-alpha.2

1 year ago

0.8.2-0

1 year ago

0.9.0-alpha.3

1 year ago

0.9.0-dev.2

1 year ago

0.9.0-dev.1

1 year ago

0.8.0

1 year ago

0.6.7

1 year ago

0.6.6

1 year ago

0.6.9

1 year ago

0.6.8

1 year ago

0.7.9-0

1 year ago

0.6.10

1 year ago

0.6.11

1 year ago

0.6.17

1 year ago

0.6.14

1 year ago

0.6.13

1 year ago

0.6.15

1 year ago

0.7.10-0

1 year ago

0.7.2

1 year ago

0.7.1

1 year ago

0.7.4

1 year ago

0.5.0

1 year ago

0.7.0

1 year ago

0.7.6

1 year ago

0.7.5

1 year ago

0.7.7

1 year ago

0.4.19

1 year ago

0.4.17

1 year ago

0.4.18

1 year ago

0.4.15

1 year ago

0.4.16

1 year ago

0.4.13

1 year ago

0.4.14

1 year ago

0.7.8-beta.0

1 year ago

0.6.3

1 year ago

0.6.2

1 year ago

0.6.5

1 year ago

0.6.4

1 year ago

0.6.1

1 year ago

0.6.0

1 year ago

0.4.12

1 year ago

0.4.11

1 year ago

0.4.10

1 year ago

0.4.9

1 year ago

0.4.8

1 year ago

0.4.7

1 year ago

0.4.6

1 year ago

0.4.5

1 year ago

0.4.4

1 year ago

0.4.3

1 year ago

0.4.2

1 year ago

0.4.1

1 year ago

0.4.0

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.17

1 year ago

0.0.16

1 year ago

0.0.15

1 year ago

0.0.14

1 year ago

0.0.13

1 year ago

0.0.12

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

1.0.1

2 years ago

1.0.0

2 years ago