The vue3 component for previewing on webpages.
npm i v-preview-urls
In Main.js
import vPreview from 'v-preview-urls'
import "v-preview-urls/dist/v-preview-urls.css"
createApp(App).use(vPreview)
In Vue Component
<v-urls :class="classdata" :url="url"/>
This is a semi-styled preview card and you can style the parts of the card outlook but not the content
You can also use this in vite and nuxt projects also.
The package currently does not support previewing social media urls.
This package is open source and contributors are welcomed.
Found a problem? Want a new feature? First of all, see if your issue or idea has already been reported. If don't, just open a new clear and descriptive issue.
Pull requests are a great way to contribute, so make sure they are focused in scope and avoid including unrelated commits. To get started, follow these steps:
- Fork the repository by clicking the "Fork" button on GitHub.
- Clone your fork using the command 'git clone https://github.com/your-username/v-preview-urls'.
- Navigate to the newly cloned directory using 'cd v-preview-urls'.
- Create a new branch for your feature with 'git checkout -b my-new-feature'.
- Install the necessary tools for development with 'yarn'.
- Make your changes.
- Commit your changes with 'git commit -am 'Add some feature''.
- Push your changes to the branch with 'git push origin my-new-feature'.
- Finally, submit a pull request with a full description of your changes.
This project is licensed under the MIT License. See the LICENSE file for details.
You can contact me via email augustinerepos@gmail.com or connect with me via twitter: https://twitter.com/_talentseeker.