Vue UI Library
⚠️ This package is not production ready!
Install:
- run
npm i vueish
- create a folder in the
src/components
folder aptly named - create a
.vue
file that starts withUI
e.g.:UITable.vue
- create a folder in the
src/directives
folder aptly named - create an
index.ts
file in the created folder.
Then add or update test to cover the new logic. The test file should be placed next to the source code in a file that is named the same but appended with test
in the name. (UITable.test.ts
)
To customise the web-types.json generated, place a web-types.ts
file next to your source code and set the appropriate default export
error like
failed to load config from /Users/my-user/Web/vueish/vite.config.js
error when starting dev server:
Error: The service was stopped
can be fixed by running node node_modules/esbuild/install
- Snapshots should be created/tested when there's a significant change in the markup such as v-if and v-for statements.
- The snapshot should include the expected most frequent use-case meaning: props and slots should be included where applicable.