vue-mateilwind
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "vue-mateilwind", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Vue 3 components library based on TypeScript", | ||
@@ -18,3 +18,3 @@ "author": { | ||
}, | ||
"types": "src/components.d.ts", | ||
"types": "src/types/index.d.ts", | ||
"private": false, | ||
@@ -21,0 +21,0 @@ "license": "MIT", |
@@ -1,11 +0,35 @@ | ||
# Vue 3 + Typescript + Vite | ||
# Install | ||
This template should help get you started developing with Vue 3 and Typescript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more. | ||
You need [Vue.js](https://v3.vuejs.org/) version 3.0+ | ||
## Recommended IDE Setup | ||
```bash | ||
# npm | ||
npm install vue-mateilwind | ||
``` | ||
- [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) | ||
```bash | ||
# yarn | ||
yarn add vue-mateilwind | ||
``` | ||
## Type Support For `.vue` Imports in TS | ||
# Usage | ||
Since TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can enable Volar's `.vue` type support plugin by running `Volar: Switch TS Plugin on/off` from VSCode command palette. | ||
## All components | ||
```js | ||
import { createApp } from 'vue' | ||
import VueMateilwind from 'vue-mateilwind' | ||
import 'vue-mateilwind/dist/style.css' | ||
createApp.use(Equal) | ||
``` | ||
## Or individual components | ||
```js | ||
import { createApp } from 'vue' | ||
import { Button, Select } from 'vue-mateilwind' | ||
import 'vue-mateilwind/dist/style.css' | ||
createApp.use(Button).use(Select) | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
71
4982
36
1
280982