project-update-notifier
v1.6.7
Published
Checks for project updates
Downloads
31
Readme
Project Update Notifier
Project Update Notifier is a Vue.js modal component designed to show project information about the new updates for Vue 2 and Vue 3 projects. You need to provide the project`s port
🔴 It`s recommended to put npm i project-update-notifier@latest to the projects that you are using the package 🔴
When making changes, be sure that you are logen in your npm account, also in the package folder (cd package), then npm publish making sure that you increase the version of the package by 1 from the package.json (npm rule) + push the code to the gitlab
Vue 2 Setup
<template>
<ModalComponent :project="projectPort" @close="closeModal" />
</template>
<script>
import createModalComponent from "project-update-notifier";
export default {
components: {
ModalComponent: createModalComponent(projectPort),
},
};
</script>
Vue 3 Setup
<script setup>
import createModalComponent from 'project-update-notifier';
const ModalComponent = createModalComponent(projectPort);
</script>
<template>
<ModalComponent :project="projectPort" @close="closeModal" />
</template>