diff --git a/README.md b/README.md index 8cf4b54..2044984 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ vue-preloader can easily be integrated into the layout of a Nuxt.js project or i ```js import { VuePreloader } from 'vue-preloader'; -import '../node_modules/vue-preloader/dist/style.css' +import '@/node_modules/vue-preloader/dist/style.css' ``` Than you can simply add the vue-preloader tag to your projects layout file: @@ -136,7 +136,7 @@ Color and percent as slotprops values that come directly from the component, tog ``` ```js import { VuePreloader } from 'vue-preloader'; -import '../node_modules/vue-preloader/dist/style.css' +import '@/node_modules/vue-preloader/dist/style.css' import { ref } from 'vue'; const showAnimation = ref(true) diff --git a/package.json b/package.json index 268ac7a..57c24e1 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "vue-preloader", "description": "Vue-Preloader is a versatile and easy-to-use Vue.js component that allows you to add loading animations to your Vue.js or Nuxt.js projects. It is compatible with both Vue 2 and Vue 3.", - "version": "1.0.1", + "version": "1.0.2", "private": false, "homepage": "https://vue-preloader.com/", "author": {