jhipster

Add Sass option after creation of a project

戏子无情 提交于 2020-01-05 03:56:04
问题 Is there any way to generate a JHipster project without Sass option and add it later on? I have tried to enable it via " .yo-rc.json " and then I run " jhipster upgrade --force ", but it does not enable it. 回答1: Here is a way to do it while keeping your custom code using git. Let's say your working code in on master (you could create a branch for experimenting), create a git branch to add saas git checkout -b add-saas Modify .yo-rc.json, re-generate your app using jhipster --with-entities

i'm trying to use ag-grid in angular1 project

*爱你&永不变心* 提交于 2020-01-04 10:45:46
问题 I'm in Jhipster starter with angular 1 project. I have some problems withe ag-grid component. first one: i use bower for all my component and wiredep include my ag-grid file before the angular.js file. I think i solve this by using overrides, but i'm not sure of me I set this on overrides in bower.json. "ag-grid": { "dependencies": { "angular": "*" } } ag-grid is well after angular.js now but i still have an other problem. in my console i have this "Uncaught ReferenceError: require is not

i'm trying to use ag-grid in angular1 project

爱⌒轻易说出口 提交于 2020-01-04 10:45:44
问题 I'm in Jhipster starter with angular 1 project. I have some problems withe ag-grid component. first one: i use bower for all my component and wiredep include my ag-grid file before the angular.js file. I think i solve this by using overrides, but i'm not sure of me I set this on overrides in bower.json. "ag-grid": { "dependencies": { "angular": "*" } } ag-grid is well after angular.js now but i still have an other problem. in my console i have this "Uncaught ReferenceError: require is not

Node.js issue :: Angular is not defined :: cannot fined bower packages :: nodegyp vs Python

北慕城南 提交于 2020-01-04 05:38:08
问题 Issue: after generating and starting my new jHipster API in the browser I got the following issue: Uncaught ReferenceError: angular is not defined Before the generation I installed the latest: node.js yo bower grunt-cli according to the guidelines During the generation I got the following warning and errors: I'm all done. Running npm install & bower install for you to install the required dependencies. If this fails, try running the command yourself. bufferutil@1.2.1 install K:\work\HP_AIC

Jhipster application development with Docker and gulp

若如初见. 提交于 2020-01-03 04:34:12
问题 I am working on a Jhipster application, and am running this application using docker. This is working, however its very cumbersome. I would like to be able to make UI changes (text, css, html etc) and benefit from gulp and browsersync, that is for example, make a change to an html file, save the file, and have the browser automatically refresh and show the change. However, the only way I can get changes visible in the browser is to: 1 stop the docker container 2 stop gulp 3 rebuild docker

Disable modal in jhipster/angular ui

喜夏-厌秋 提交于 2020-01-02 10:45:33
问题 I would like to disable modal dialogs in a jhipster generated application in favor of elements displayed in page. See https://github.com/jhipster/generator-jhipster/issues/2693 回答1: You should make it just like the "-detail" state right above. Make a block like views: { 'content@': { templateUrl: 'app/entities/smthn/smthn-dialog.html', controller: 'SmthnDialogController', controllerAs: 'vm' } }, after data object and move resolve out of the $uibModal.open . Then there is a bit of change in

Disable modal in jhipster/angular ui

帅比萌擦擦* 提交于 2020-01-02 10:45:22
问题 I would like to disable modal dialogs in a jhipster generated application in favor of elements displayed in page. See https://github.com/jhipster/generator-jhipster/issues/2693 回答1: You should make it just like the "-detail" state right above. Make a block like views: { 'content@': { templateUrl: 'app/entities/smthn/smthn-dialog.html', controller: 'SmthnDialogController', controllerAs: 'vm' } }, after data object and move resolve out of the $uibModal.open . Then there is a bit of change in

How to create an entity view with list of related entities in JHipster 3.x?

ぐ巨炮叔叔 提交于 2020-01-02 08:03:21
问题 New to JHipster, so bear with me :). I'd like to display lists of related entities on an entity detail view. How can I do that? Since this is common in this application, it would be best to have a generic way of doing this instead of modifying each entity (e.g. by modifying the generator), but per entity editing is OK if there is no other way. An example: I have Courses and each Course may have many Lessons, Students and Clients connected. Now on the Course detail view below the Course fields

Jhipster 4 How to put entity component (list) on home screen

走远了吗. 提交于 2020-01-02 03:58:13
问题 I'm using Jhipster 4 with Angular 2.0 to create application. I'm newbie for all this staff. Let's say I have two entities: Customer and Task with relation one to many. I would like to have list of customers (top 10) on home screen. As next I would like to add on customer detail view list of all tasks which belongs to him. I've updated home.component.ts to add CustomerComponent import { Component, OnInit } from '@angular/core'; import { NgbModalRef } from '@ng-bootstrap/ng-bootstrap'; import {

JHipster 5 availability

做~自己de王妃 提交于 2020-01-01 06:36:05
问题 Is JHipster 5 (with Spring Boot 2) available to play around with? I've noticed that there is mention about work on JHipster 5 in the release notes, but can't see any info on how to install/run a 'preview' version of 5. 回答1: You can use directly the master version, no need to wait for a release: git clone https://github.com/jhipster/generator-jhipster cd generator-jhipster yarn install yarn link Then, when you want to generate a new project, using master branch: mkdir newapp cd newapp yarn