prios-poll-plugin
v1.0.0
Published
A simple poll app
Readme
Poll test
A simple poll app
Live app link poll-app
Getting Started
These instructions will give you a copy of the project up and running on your local machine for development and testing purposes.
Setting up as a plugin
Import the plugin in main.js ´import { createApp } from 'vue'; import { createPinia } from 'pinia'; import priosPollPlugin from 'prios-poll-plugin' <--import the plugin here
import App from './App.vue'; import priosPollPlugin from './PollPlugin.js'
import './assets/css/index.css';
const app = createApp(App);
app.use(createPinia()); app.use(priosPollPlugin); <--add the plugin here
app.mount('#app');
´
Declare it in any component you want like this ´´
Installing
Get a development environment running
Say what the step will be
git clone https://github.com/TorMagne/poll.gitinstall dependencies
npm installrun project
npm run devBuild
build project
npm run dev