• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

jhipster/jhipster-vuejs: A Vue.js blueprint for JHipster. It will use Vue.js as ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

jhipster/jhipster-vuejs

开源软件地址:

https://github.com/jhipster/jhipster-vuejs

开源编程语言:

TypeScript 47.5%

开源软件介绍:

NPM version Dependency Status Downloads

Generator Build Status Vue.js Build Status

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

To update this blueprint:

npm update -g generator-jhipster-vuejs

With Yarn

To install this blueprint:

yarn global add generator-jhipster-vuejs

To update this blueprint:

yarn global upgrade generator-jhipster-vuejs

Usage

To use this blueprint, run

jhipster --blueprints vuejs

Using Docker

Download the Dockerfile:

mkdir docker
cd docker
wget https://github.com/jhipster/jhipster-vuejs/raw/master/docker/Dockerfile

Build the Docker images:

docker build -t jhipster-generator-vuejs:latest .

Make a folder where you want to generate the Service:

mkdir service
cd service

Run the generator from image to generate service:

docker run -it --rm -v $PWD:/home/jhipster/app jhipster-generator-vuejs

Run and attach interactive shell to the generator docker container to work from inside the running container:

docker run -it --rm -v $PWD:/home/jhipster/app jhipster-generator-vuejs /bin/bash

Create a new component page

To create a new Vue.js empty page, run

jhipster --blueprints vuejs page

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 --blueprints vuejs

License

Apache-2.0 © Deepu K Sasidharan




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
vtex/faststore: Digital commerce toolkit for frontend developers发布时间:2022-06-08
下一篇:
maxbeier/tawian-frontend: A markdowny CSS framework发布时间:2022-06-08
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap