1.15.34 • Published 2 years ago

quichtify v1.15.34

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

quichtify

quichtify is a Vue 3 Library handcrafted components using latest technologies.

Using it

  1. Add it to your package.json : npm i quichtify
  2. Declare it to your vue app vy refactoring your main.js like this :
import { createApp } from 'vue';
import App from './App.vue';
import quichtify from 'quichtify';
import 'quichtify/dist/style.css';

const app = createApp(App);

app.use(quichtify);
app.mount('#app');

Library documentation

You can watch and interact with almost all of our components using our Chromatic's StorybookJs. Due to some complexity of our component and a lack of experience with Storybook, some functionnality will not work properly.

We recommand you to check the Example.vue file of the component you need.

To preview and play with the demo of a component, simply change the path to the example component in src/App.vue line 6. Replace QDragAndDrop with the name of your component and run npm run dev.

Contribute

This library is has 2 builds configurations. One for developement with a full Vue app and another for building.

When you develop you only need to setup the project like any other vue project using npm install.

After that, you have all Vitejs CLI commands. The dev serve will display the src/App.vue scafold. There is no router, the demo page need to be used only for developping. It'll never be visible by the end user.

Create new component

  1. Setup the project by cloning it and install dependencies using npm install
  2. Create a new folder for your component in src/components like the example one src/components/QHelloWorld : One main component (You can have multiple in one folder) and a unit testing folder ready to test you component. Pay attention to name your component in PascalCase with a "Q" at the begining
  3. Import your new component in src/components/index.js on top of // TODO: 2
  4. Declare your new component in src/components/index.js as QHelloWorld on top of // TODO: 3
  5. Run development server using npm run dev and voila ! :D \ Test your component in src/App.vue and you favorite browser at http://localhost:3000 (usually)
  6. Update the example story copied with the QHelloWorld previously to be able to play with in StorybookJs. Follow TODO upper than 6.
  7. Test your story in Storybook UI using your browser and this command : npm run storybook
  8. Remove all TODO from your new files
  9. Increment version number using npm version minor for new component or npm version patch for a bug fix
  10. Create a pretty pull request to be accepted 😉

Basic commands

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Compile and Minify for Production

npm run build

Run Unit Tests with Vitest

npm run test:unit

Run End-to-End Tests with Cypress

npm run build
npm run test:e2e # or `npm run test:e2e:ci` for headless testing

Lint with ESLint

npm run lint

Related documentation

1.14.1

2 years ago

1.10.5

2 years ago

1.14.0

2 years ago

1.10.4

2 years ago

1.12.1

2 years ago

1.10.3

2 years ago

1.12.0

2 years ago

1.10.2

2 years ago

1.14.5

2 years ago

1.10.9

2 years ago

1.14.4

2 years ago

1.10.8

2 years ago

1.14.3

2 years ago

1.10.7

2 years ago

1.14.2

2 years ago

1.10.6

2 years ago

1.15.10

2 years ago

1.14.9

2 years ago

1.15.11

2 years ago

1.14.8

2 years ago

1.15.12

2 years ago

1.14.7

2 years ago

1.15.13

2 years ago

1.14.6

2 years ago

1.15.18

2 years ago

1.15.19

2 years ago

1.15.14

2 years ago

1.15.16

2 years ago

1.15.17

2 years ago

1.11.0

2 years ago

1.15.0

2 years ago

1.13.0

2 years ago

1.15.4

2 years ago

1.15.3

2 years ago

1.15.2

2 years ago

1.15.1

2 years ago

1.15.32

2 years ago

1.15.8

2 years ago

1.15.33

2 years ago

1.15.7

2 years ago

1.15.34

2 years ago

1.15.6

2 years ago

1.15.5

2 years ago

1.15.30

2 years ago

1.15.31

2 years ago

1.15.9

2 years ago

1.10.22

2 years ago

1.10.20

2 years ago

1.10.21

2 years ago

1.15.21

2 years ago

1.15.22

2 years ago

1.14.10

2 years ago

1.15.23

2 years ago

1.15.24

2 years ago

1.15.20

2 years ago

1.15.29

2 years ago

1.10.15

2 years ago

1.10.16

2 years ago

1.10.13

2 years ago

1.10.14

2 years ago

1.15.25

2 years ago

1.10.11

2 years ago

1.15.26

2 years ago

1.10.12

2 years ago

1.15.27

2 years ago

1.15.28

2 years ago

1.10.10

2 years ago

1.10.19

2 years ago

1.10.1

2 years ago

1.10.0

2 years ago

1.10.17

2 years ago

1.10.18

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago