Skip to content

Commit

Permalink
Merge pull request #2192 from DamnClin/vue-modules
Browse files Browse the repository at this point in the history
Migrate vue module
  • Loading branch information
pascalgrimaud authored Jun 27, 2022
2 parents bfb1b70 + 22a51ab commit c4449fa
Show file tree
Hide file tree
Showing 30 changed files with 455 additions and 999 deletions.
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
package tech.jhipster.lite.generator.client.vue.core.application;

import org.springframework.stereotype.Service;
import tech.jhipster.lite.generator.client.vue.core.domain.VueService;
import tech.jhipster.lite.generator.project.domain.Project;
import tech.jhipster.lite.generator.client.vue.core.domain.VueModulesFactory;
import tech.jhipster.lite.generator.module.domain.JHipsterModule;
import tech.jhipster.lite.generator.module.domain.properties.JHipsterModuleProperties;

@Service
public class VueApplicationService {

private final VueService vueService;
private final VueModulesFactory factory;

public VueApplicationService(VueService vueService) {
this.vueService = vueService;
public VueApplicationService() {
factory = new VueModulesFactory();
}

public void addVue(Project project) {
vueService.addVue(project);
public JHipsterModule buildVueModule(JHipsterModuleProperties properties) {
return factory.buildVueModule(properties);
}

public void addPinia(Project project) {
vueService.addPinia(project);
public JHipsterModule buildPiniaModule(JHipsterModuleProperties properties) {
return factory.buildPiniaModule(properties);
}
}

This file was deleted.

Loading

0 comments on commit c4449fa

Please sign in to comment.