vue-lighthouse-viewer
v0.1.235
Published
A Vue.js component for viewing Lighthouse reports
Downloads
34
Maintainers
Readme
vue-lighthouse-viewer
This component is a Vue wrapper for the lighthouse-viewer. It depends on lighthouse-viewer, package that exports the original lighthouse-viewer from Google as an ES modules package.
Getting started
- Install using
npm install vue-lighthouse-viewer
oryarn add vue-lighthouse-viewer
- Import in your project:
import VueLighthouseViewer from "vue-lighthouse-viewer";
- Load the component in your code as follows:
<div id="app">
<VueLighthouseViewer :json="json" />
</div>
- That's all!