Socket
Socket
Sign inDemoInstall

vue-skeletor

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.5 to 1.0.6

2

package.json
{
"name": "vue-skeletor",
"version": "1.0.5",
"version": "1.0.6",
"description": "Vue 3 Skeleton Loading component.",

@@ -5,0 +5,0 @@ "main": "dist/vue-skeletor.cjs.js",

@@ -61,14 +61,14 @@ # 💀 Vue Skeletor (Vue 3 Skeleton Loading component)

Import the component locally or register it globally if you like.
First import the Skeletor styles
```js
// Import the styles in your main entry file
import 'vue-skeletor/dist/vue-skeletor.css';
```
Option 1 - Register Locally
```js
// Import the component
// SomeComponent.vue
import { Skeletor } from 'vue-skeletor';
// Register it
export default {

@@ -79,2 +79,11 @@ components: { Skeletor }

Option 2 - Register Globally
```js
// main.js
import { Skeletor } from 'vue-skeletor';
app.component(Skeletor.name, Skeletor);
```
```html

@@ -81,0 +90,0 @@ <!-- And use in your <template> or JSX -->

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc