Giter VIP home page Giter VIP logo

prevue's Introduction

PreVue

PRs Welcome License: MIT

All in One Prototyping Tool For Vue Developers

From Component Architecture to Code Exporting

PreVue allows users to conceptualize and visualize component architecture by allowing them to :

  1. Create components and preview their associated code
  2. Set up different routes and views
  3. Establish parent-child component relationships
  4. View application hierarchy in tree format
  5. Export the component architecture as a Vue application created with default Vite settings.

Use PreVue to create projects in single sessions or sign in with GitHub to save projects and update them anytime. the component architecture as a Vue application created with the default Vue CLI settings.

Getting Started

How to use


Adding Components

  • Double click on the application icon
  • Create components by entering a name and clicking the HTML elements you need
  • Clicked elements will be shown in the right sidebar
  • Drag the elements to change their order
  • Once you're satisfied, click the button to ‘add a component’ and it will show up in the working area. Resize and move components to fit the design you have in mind.

Editing Components

  • Double click elements to bring up the modal view
  • Add additional elements to a component with a live preview of the component code
  • Drag elements on the right side bar to nest elements
  • Establish parent-child component relationships via the dropdown menu when creating or editing components

Adding Routes

  • Create different routes that represent different Views for your app.
  • Any components created on a given route will be automatically saved to that route
  • See your application’s hierarchy by clicking the ‘Tree’ icon in the navigation bar

Tree View of Application Architecture

Saving/Opening/Exporting Projects

  • In order to utilize the saving and opening functionality of PreVue, please clone the repo to run on your local machine.
  • If you're signed in with GitHub, click the ‘Save Project’ icon to save it to PreVue’s database
  • Click ‘Open Project’ to retrieve past projects
  • Once you're satisfied, click the export project icon to export your awesome project as new Vue application!
  • Other users can use PreVue's playground to create and export projects in single sessions.

Code Exporting

Below is the generated directory structure of the Vue application that is created when you export your design.

src/
  assets/
  App.vue
  components/
    UserCreatedComponent1.vue
    UserCreatedComponent2.vue
    ...
  views/
    HomeView.vue
    UserCreatedRouteComponent1.vue
    UserCreatedRouteComponent2.vue
    ...

Running your own local version

Setup

Coming soon!

Built With


Changelog


PreVue 2.0 Adds:

  • Implementation of PreVue as a web application
  • OAuth via GitHub
  • TypeScript integration
  • Backend infrastructure built with Node/Express
  • General UI/UX enhancements
  • Testing with Vitest and Supertest (and Jest)

Contributing


We encourage you to submit issues for any bugs or ideas for enhancements. Please feel free to fork this repo and submit pull requests to contribute as well. Also follow PreVue on LinkedIn for more updates. Some ideas for future contributions include:

  • Project livesharing (via Websockets)
  • Migrate state management from Vuex to Pinia
  • More thorough testing with Jest

Authors


PreVue 2.0

PreVue 1.0

License


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

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.