Giter Site home page Giter Site logo

karthik-cbe / prevue Goto Github PK

View Code? Open in Web Editor NEW

This project forked from open-source-labs/prevue

0.0 0.0 0.0 1.17 MB

๐ŸŽจ All in One Prototyping Tool For Vue Developers.

Home Page: https://www.prevue.io/

JavaScript 35.70% HTML 2.40% Vue 61.90%

prevue's Introduction

PreVue

PRs Welcome License: MIT

All in One Prototyping Tool For Vue Developers

From Component Architecture to Code Exporting

PreVue allows the user to design/visualize their component architecture by allowing users to :

  1. Create components and preview their code

  2. Set up different views/routes

  3. Establish parent-child component relationships

  4. See their application architecture in tree format

  5. export the component architecture as a Vue application created with the default Vue CLI settings.

Getting Started


Download for MacOS, Linux, or Windows

Support for Windows now here!
  • Mac users only: for now you might need to go to your security settings to allow the app run on your system as we do not have an Apple license yet.

If you find any issues, file issue

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 on the right sidebar

  • drag them around to change the order!

  • Once you're satisfied, click the button to add a component and it will show up in the center stage, with the ability to resize!

Editing Components

  • Edit components by double clicking for the edit modal to show
  • 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 a dropdown menu when creating or editing components

Adding Routes/Projects

  • Create different routes for your application by entering a new route name and pressing enter
  • Any components created on a certain route will be automatically saved to that route
  • Play with multiple projects by clicking the add project icon!
  • Display a tree view of entire application component architecture when the tree icon on navbar is clicked

Tree View of Application Architecture

Saving/Opening/Exporting Projects

  • If you ever need to save your current project, click the save project icon to save a json to your local directory
  • Next time the application is started, open the project again by clicking the open project icon!
  • Once you're satisfied, click the export project icon to export your awesome project as new Vue application!

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
    ...

Editor Hotkeys:

  • cmd/ctrl + s: save
  • cmd/ctrl + o: open
  • cmd/ctrl + n: new project tab
  • cmd/ctrl + w: close project tab

Running your own local version


PreVue was developed using node runtime @ v10.15.0. You should make sure you at least have that version installed to ensure full compatibility. You can download the latest version of node here

Setup

Clone this repo

git clone https://github.com/teamprevue/PreVue.git

Install dependencies

npm i

Run electron app

npm run electron:serve

Built With


Contributing


PreVue is currently in beta release. We encourage you to submit issues for any bugs or ideas for enhancements. Also feel free to fork this repo and submit pull requests to contribute as well.

Authors


License


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

prevue's People

Contributors

danshuu avatar al2613 avatar hubelin avatar pinnockf avatar

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.