Skip to content

OneSignalDevelopers/OneSignal-Vue-Sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OneSignal + Vue.js

This example project demonstrates how to integrate the OneSignal Vue.js plugin into your Vue.js app. You can use this project as a boilerplate or a reference for your project.

If you are interested in learning more about this project, check out this blog post.

Running this sample

This sample assumes that you already have a OneSignal app created. If you don't have one made already, you'll need to create it before starting.

  1. Run yarn to install packages
  2. Set the app id in main.js
  3. Start the app, yarn serve

Note that you will need to have a OneSignal app created before this example will work. Check the Web Push Quickstart for guidance on a OneSignal app.