0.0.3 • Published 2 years ago
@yaman3bd/vue-vite-example v0.0.3
example repo to see that the poprs are not showing in the suggestions
intall the package
First install the library using your prefered package manager
yarn add @yaman3bd/vue-vite-example
usage
then you can import the available component like so
import {MButton} from '@yaman3bd/vue-vite-example'
add styles
import '@yaman3bd/vue-vite-example/dist/style.css'
MButton availbe props:
label,
title,
type,
disabled
they all not showing in the props suggestions like so:
and the props are in the dist build files but idk why not showing when using the component:
used code editor:
my package managers version
node version
v14.17.1
npm vesrion
6.14.13
yarn version
1.22.10
setup env:
windows10 pro core i7
also tried using:
macbook pro M1 Pro
macbook pro core i7
and the problem still the same
Windows 10 system info:
System:
OS: Windows 10 10.0.19042
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 2.08 GB / 15.88 GB
Binaries:
Node: 14.17.1
Yarn: 1.22.10
npm: 6.14.13
Browsers:
Edge: Spartan (44.19041.1266.0),
Chromium (97.0.1072.62)
Internet Explorer: 11.0.19041.1202
MacBook Pro M1 pro system info:
System:
OS: macOS 12.0.1
CPU: (10) arm64 Apple M1 Pro
Memory: 9.55 GB / 32.00 GB
Shell: 3.3.1
Binaries:
Node: 14.18.2
Yarn: 1.22.17
npm: 8.1.4
Browsers:
Chrome: 97.0.4692.71
Safari: 15.1
Note
try to build the lib using vite version:
"vite": "2.4.3"
and you will see the dist build files are different (the built code is different)