/jhipster-vuejs

A Vue.js blueprint for JHipster. It will use Vue.js as the frontend library

Primary LanguageTypeScriptApache License 2.0Apache-2.0

JHipster-vuejs

NPM version Build Status Dependency Status Downloads

⚠️ Status: in development

JHipster-vuejs, a Vue.js blueprint for JHipster. It will use Vue.js as the frontend library. Check out our latest beta release 1.0.0-beta.1 to try this out.

Introduction

This is a JHipster blueprint.

Prerequisites

As this is a JHipster blueprint, we expect you have JHipster and its related tools already installed:

Installation

With NPM

To install this blueprint:

npm install -g generator-jhipster-vuejs@1.0.0-beta.1

To update this blueprint:

npm update -g generator-jhipster-vuejs

With Yarn

To install this blueprint:

yarn global add generator-jhipster-vuejs@1.0.0-beta.1

To update this blueprint:

yarn global upgrade generator-jhipster-vuejs

Usage

To use this blueprint, run

jhipster --blueprint vuejs

Running local Blueprint version for development

During development of blueprint, please note the below steps. They are very important.

  1. Clone the projects

You'll probably need the current master of generator-jhipster :

  • fork generator-jhipster: https://github.com/jhipster/generator-jhipster/fork
  • clone locally your fork: git clone https://github.com/<your_username>/generator-jhipster
  • cd generator-jhipster
  • git remote add upstream https://github.com/jhipster/generator-jhipster
  • so you'll be able to update regularly your fork, using git fetch upstream && git checkout master && git rebase upstream/master
  • npm ci
  • npm link

Then, about jhipster-vuejs :

  • fork jhipster-vuejs: https://github.com/jhipster/jhipster-vuejs/fork
  • clone locally your fork: git clone https://github.com/<your_username>/jhipster-vuejs
  • cd jhipster-vuejs
  • git remote add upstream https://github.com/jhipster/jhipster-vuejs
  • so you'll be able to update regularly your fork, using git fetch upstream && git checkout master && git rebase upstream/master
  • npm ci
  • npm link
  • npm link generator-jhipster
  1. Create a new folder for the app to be generated and link JHipster and your blueprint there
mkdir my-app
cd my-app
npm link generator-jhipster-vuejs
jhipster -d --blueprint vuejs

License

Apache-2.0 © Deepu K Sasidharan