日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 人文社科 > 生活经验 >内容正文

生活经验

jhipster创建项目问答汇总_[恭喜JHipster社区喜提 VueJS !]

發布時間:2023/11/27 生活经验 29 豆豆
生活随笔 收集整理的這篇文章主要介紹了 jhipster创建项目问答汇总_[恭喜JHipster社区喜提 VueJS !] 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

在中國的狗年農歷臘月廿三 也就是我國過小年的時候, Twitter上傳來喜訊 jhipster-vuejs 團隊在NPM上發布了 我們偏Vue系全棧程序員 "翹臀以盼" JHipster × Vue.js Beta版 1.0 !

Twitter原文地址:

1月28日?twitter.com

原先的 JH-Vue 只有 Blueprint版 , 如今第一次發布 開箱即用的Beta版, 俺接下來先來給猿們嘗嘗鮮 ; )

0.安裝JHipster (需要先安裝Node.js&Npm)

$ npm install -g generator-jhipster   
陳龍:從0開始,5分鐘創建一個Spring Boot + Angular/React應用?zhuanlan.zhihu.com

1. 全局安裝JH-VuejsNPM包(latest版已出)

$ npm install -g generator-jhipster-vuejs

2. 將JH-Vuejs 模塊符號鏈接至當前項目的依賴中 (ps:用管理員權限cmd運行)

$ npm link generator-jhipster-vuejs

3. 按需生成JH-Vuejs前后端分離項目 (ps:用管理員權限cmd運行)

$ jhipster -d --blueprints vuejs # 根據下列 > 標識選項即可創建INFO! Using JHipster version installed globally
INFO! Debug logging is on
DEBUG!  No command specified. Running default
INFO! Running default command
DEBUG!  cmd: app
DEBUG!  args:
DEBUG!  opts:
DEBUG!  cmdArgs:
INFO! Executing jhipster:app
INFO! Options: d: true, blueprint: vuejs, from-cli: true██╗ ██╗   ██╗ ████████╗ ███████╗   ██████╗ ████████╗ ████████╗ ███████╗██║ ██║   ██║ ╚══██╔══╝ ██╔═══██╗ ██╔════╝ ╚══██╔══╝ ██╔═════╝ ██╔═══██╗██║ ████████║    ██║    ███████╔╝ ╚█████╗     ██║    ██████╗   ███████╔╝██╗   ██║ ██╔═══██║    ██║    ██╔════╝   ╚═══██╗    ██║    ██╔═══╝   ██╔══██║╚██████╔╝ ██║   ██║ ████████╗ ██║       ██████╔╝    ██║    ████████╗ ██║  ╚██╗╚═════╝  ╚═╝   ╚═╝ ╚═══════╝ ╚═╝       ╚═════╝     ╚═╝    ╚═══════╝ ╚═╝   ╚═╝https://www.jhipster.techWelcome to JHipster v5.7.2
Application files will be generated in folder: D:ALocal_toolDepotsRunCodeDepotJHipster-Vue.js_______________________________________________________________________________________________________________Documentation for creating an application is at https://www.jhipster.tech/creating-an-app/If you find JHipster useful, consider sponsoring the project at https://opencollective.com/generator-jhipster_______________________________________________________________________________________________________________WARNING! Java 1.8 is not found on your computer. Your Java version is: 9______________________________________________________________________________JHipster update available: 5.8.1 (current: 5.7.2)Run npm install -g generator-jhipster to update.______________________________________________________________________________
? (1/18) Which *type* of application would you like to create? (Use arrow keys) //選擇創建的應用類型
> Monolithic application (recommended for simple projects) //綜合應用Microservice application //微服務應用Microservice gateway //微服務網關[BETA] JHipster UAA server (for microservice OAuth2 authentication) //微服務OAuth2的身份認證服務? (2/18) What is the base name of your application? 例: (vuedemo) //項目名稱? (3/18) What is your default Java package name? 例: (com.jh.vue) //默認生成包名// jhipster registry是一個基于spring cloud的配置中心。所有的微服務APP都需要注冊到這里,集成了eureka
? (4/18) Do you want to use the JHipster Registry to configure, monitor and scale your application?No? (5/18) Which *type* of authentication would you like to use? (Use arrow keys) //選擇認證方式
> JWT authentication (stateless, with a token) //J(son)W(eb)T(oken)(無狀態)HTTP Session Authentication (stateful, default Spring Security mechanism) //Spring Security默認機制 基于HTTP會話的認證方式(帶狀態)OAuth2 Authentication (stateless, with an OAuth2 server implementation) //OAuth2的認證實現(無狀態)? (6/18) Which *type* of database would you like to use? (Use arrow keys) //選擇數據庫類型
> SQL (H2, MySQL, MariaDB, PostgreSQL, Oracle) //關系型數據庫MongoDB //NoSQLCassandra //NoSQL? (7/18) Which *production* database would you like to use? (Use arrow keys) //生產數據庫
> MySQLMariaDBPostgreSQLOracle - Warning! The Oracle JDBC driver (ojdbc) is not bundled because it is not Open Source. Please follow our documentation to instal l it manually.Microsoft SQL Server? (8/18) Which *development* database would you like to use? (Use arrow keys) //開發數據庫
> H2 with disk-based persistence //數據存儲在磁盤的H2H2 with in-memory persistence //內存H2(服務關閉數據丟失)MySQL? (9/18) Do you want to use the Spring cache abstraction? // 根據需求選擇緩存
> Yes, with the Ehcache implementation (local cache, for a single node)  // 本地緩存方案 ehcacheYes, with the Hazelcast implementation (distributed cache, for multiple nodes) // 集群緩存方案,多節點緩存,適合多微服務的分布式環境[BETA] Yes, with the Infinispan implementation (hybrid cache, for multiple nodes) Yes, with Memcached (distributed cache) - Warning, when using an SQL database, this will disable the Hibernate 2nd lev
el cache! // memcached(分布式緩存)No - Warning, when using an SQL database, this will disable the Hibernate 2nd level cache!  // 不使用緩存? (10/18) Do you want to use Hibernate 2nd level cache? (Use arrow keys) (Y/n)//Hibernate 二級緩存Yes ? (11/18) Would you like to use Maven or Gradle for building the backend? (Use arrow keys) //選擇后臺構建系統
> Maven //更成熟,穩定,用戶群體更大Gradle //更靈活,易于擴展,支持maven一鍵轉Gradle? (12/18) Which other technologies would you like to use? (Press <space> to select) //可選技術(此選項可為空,當前選擇為空)( ) Search engine using ElasticSearch //集成搜索開源搜索引擎 ElasticSearch( ) Clustered HTTP sessions using Hazelcast //使用Hazelcast管理http session集群( ) WebSockets using Spring Websocket //使用Spring Websocket( ) [BETA] Asynchronous messages using Apache Kafka //Apache Kafka 是一種高吞吐量的分布式發布訂閱消息系統? (13/18) Which *Framework* would you like to use for the client? // 選擇前端框架, 當前 VueBeta版只能選擇Vuejs
> Vue.js? (14/18) Would you like to enable internationalization support? (Y/n) //是否使用國際化Yes? (15/18)Please choose the native language of the application? (Use arrow keys) //選擇本地化語言Catalan
>Chinese (Simplified) //中文簡體Chinese (Traditional)CzechDanishDutchEnglish
(Move up and down to reveal more choices)? (16/18)Please choose additional languages to install (Press <space> to select)//選擇其余支持語言(空格選中)
>( ) Catalan( ) Chinese (Traditional)( ) Czech( ) Danish( ) Dutch(*) English( ) French
(Move up and down to reveal more choices)? (17/18) Besides JUnit and Jest, which testing frameworks would you like to use? (Press <space> to select, <a> to toggle all, <
i> to invert selection) // 選擇測試框架,針對微服務http接口測試,生成測試報告(暫不需要)( ) Gatling( ) Cucumber( ) Protractor? (18/18) Would you like to install other generators from the JHipster Marketplace? (Y/N)//  //從JHipster Marketplace 安裝其他生成器
NoInstalling languages: zh-cn, enKeyStore 'src/main/resources/config/tls/keystore.p12' generated successfully.Unable to find src/main/webapp//app/config/translation.ts or missing required jhipster-needle. Language pipe not updated with languages: zh-cn,ca since block was not found. Check if you have enabled translation support.create .prettierrccreate .prettierignorecreate srcmainjibentrypoint.shcreate srcmaindockerDockerfilecreate srcmaindockerentrypoint.shcreate srcmaindocker.dockerignorecreate srcmaindockerapp.ymlcreate srcmaindockersonar.yml .........

該GitBook地址提供創建多種業務場景下的通用模板應用 !

創建應用 · jhipster開發筆記?jh.jiankangsn.com

4. 導入依賴 (ps:用管理員權限cmd運行)

npm run webpack:build

5. 啟動項目

關于了解更多JH相關知識請關注本專欄

JHipster?zhuanlan.zhihu.com

總結

以上是生活随笔為你收集整理的jhipster创建项目问答汇总_[恭喜JHipster社区喜提 VueJS !]的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。