Skip to content
Branch: master
Find file History
Pull request Compare This branch is 3 commits behind next.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
public docs(examples): Add Vue example project Nov 7, 2018
src docs(examples): Add Vue example project Nov 7, 2018
.dockerignore docs(examples): Add Vue example project Nov 7, 2018
.gitignore docs(examples): Add Vue example project Nov 7, 2018
Dockerfile docs(examples): Add Vue example project Nov 7, 2018
README.md
package-lock.json docs(examples): Add Vue example project Nov 7, 2018
package.json

README.md

Vue

This is an example project showing how to use @bugsnag/js with a Vue project.

This project was bootstrapped with Vue CLI.

Usage

Clone the repo and cd into the directory of this example:

git clone git@github.com:bugsnag/bugsnag-js.git
cd bugsnag-js/examples/vue

Take a look at…

With docker

The project includes a Dockerfile. If you're familiar with docker, this is the easiest way to start the example. Otherwise, skip ahead to the without docker section.

docker build -t bugsnag-js-example-vue . && \
docker run -p 5000:5000 -it bugsnag-js-example-vue

Note: remember to replace YOUR_API_KEY in src/lib/bugsnag.js with your own!

Without docker

Ensure you have a version of Node.js >=4 on your machine.

npm install
npm run serve

Note: remember to replace YOUR_API_KEY in src/lib/bugsnag.js with your own!

You can’t perform that action at this time.