GithubHelp home page GithubHelp logo

vuetwo / vuetron Goto Github PK

View Code? Open in Web Editor NEW
568.0 10.0 22.0 33.86 MB

A tool for testing and debugging your Vue + Vuex applications. 是一個可以幫助您 Vue.js 的項目測試及偵錯的工具, 也同時支持 Vuex及 Vue-Router.

Home Page: http://vuetron.io

License: MIT License

Vue 50.05% JavaScript 49.38% HTML 0.57%
vuejs vue-router vuex testing-tools testing debugging-tool visualization electron debugger desktop

vuetron's Introduction


A tool for testing and debugging Vue.js applications.

是一個可以幫助您 Vue.js 的項目測試及偵錯的工具, 也同時支持 Vuex及 Vue-Router.

Why Vuetron? 我們為什麼用 Vuetron?

We really like the current Vue dev tools for chrome and wanted a way to extend that functionality by hooking onto the vue application itself, so we built Vuetron! Like the Developer Tools, you’re still able to view emitted events, view application state, and time travel debug. With Vuetron you have the added the ability to subscribe to specific state variables, observe API requests and responses, and visualize the component structure of your application giving you a larger toolkit for testing and debugging your Vue.js application.

Getting Started

To use Vuetron, you will need both the desktop application and node module in your Vue project. You can find the app download and installation instructions here.

Key Features

Eventstream with Time Travel Debugging:

  • Instantly time travel between previous application states, or revert a whole group of state changes at once.
time travel example
  • See 5 types of events
    • Connected to Server: Vuetron has successfully connected to the socket server.
    • State Initialized: If using Vuex, this event is displayed when the initial state is received
      • This will reinitialize if your application is refreshed, but you will not lose previous state changes
    • State Change: If using Vuex, this event is displayed for each mutation call
      • The expanded card displays each state change that occurred
    • Event Emitted: This event is displayed for every $emit call
      • The expanded card displays the name of the $emit
    • API Request / Response: If using the fetch API for requests, this event is displayed for any request sent
      • The expanded card displays the request data as well as the response data
event items example

State Subscriptions:

  • Subscribe to specific parts of your application's state for faster debugging
subscriptions example

Component Tree:

  • Visualizing your component hierarchy has never been easier.
    • Animation allows you to collapse or expand the tree for specific hierarchy views.
component tree example

Collapsable Vuex State Object:

  • View and interact with an object representation of your application's most current state.
state example

Other benefits:

  • Cross platform
    • Windows, Mac, and Linux ready.

Try it out

If you want to test out Vuetron before you commit to installing it in your project, you can fork or clone our example app with the plugins pre-configured. (Vuetron app download required separately)

Testing

Read the TESTING.md file for more information on running tests.

Built With

  • Vue.js - The web framework used
  • Vuex - State Management
  • Vue-Router - Routing
  • Electron - Used to build desktop app
  • Socket.io - Used communicate between Vuetron and client's application

Contributing

Found a bug? Have a suggestion? Feel free to submit issues!

Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests if you're interesting in contributing to this project!

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.txt file for details

Acknowledgments

vuetron's People

Contributors

brandondanh avatar janellewg avatar kellygilliam avatar louisrouaze avatar sbarli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vuetron's Issues

A javascript error occurred in the main process

I'm getting these errors in the Vuetron app
img2635
(OSX)

Uncaught Exception:
TypeError: Cannot read property 'lhs' of undefined
    at deepDiff (/Applications/Vuetron.app/Contents/Resources/app/vuetron-server/node_modules/deep-diff/index.js:156:76)
    at accumulateDiff (/Applications/Vuetron.app/Contents/Resources/app/vuetron-server/node_modules/deep-diff/index.js:213:3)
    at Socket.<anonymous> (/Applications/Vuetron.app/Contents/Resources/app/vuetron-server/lib/sockets.js:41:21)
    at emitTwo (events.js:106:13)
    at Socket.emit (events.js:194:7)
    at /Applications/Vuetron.app/Contents/Resources/app/vuetron-server/node_modules/socket.io/lib/socket.js:513:12
    at _combinedTickCallback (internal/process/next_tick.js:73:7)
    at process._tickCallback (internal/process/next_tick.js:104:9)

Error starting vuetron Windows application

Directly after starting Vuetron I receive this error.
image

After that a second error is presented:
image

Then nothing is shown at all. No application window at all.
If you look in the process list, there are still 2 Instances auf vuetron running,

Is this still maintained at all?

Thanks
Andreas

Installation Docs: wrong ES6 syntax

The instructions regarding 'Adding Vuetron plugins in your application' seem to be not correct as

vuetron/packages/vuetron-plugins/index.js

only exports the default object.

import { VuetronVue } from 'vuetron';

and

import { VuetronVuex } from 'vuetron';

are not possible.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.