akveo / blur-admin

AngularJS Bootstrap Admin Panel Framework
http://akveo.github.io/blur-admin/
Other
11.37k stars 3.09k forks source link

integration issue with spring boot backend as u used gulp #404

Open rmrajat opened 6 years ago

rmrajat commented 6 years ago

please specify the steps to integrate frontend with backend .

my previous pom.xml plugin code is : how can i convert it to gulp plugin and what changes i need to do in frontend blur project.?

install node and npm install-node-and-npm src/main/frontend v6.11.5 3.10.10
    <execution>
        <id>npm install</id>
        <goals>
            <goal>npm</goal>
        </goals>

        <configuration>
            <workingDirectory>src/main/frontend</workingDirectory>
            <arguments>install</arguments>
        </configuration>
    </execution>

    <execution>
        <id>npm run build</id>
        <goals>
            <goal>npm</goal>
        </goals>

        <configuration>
            <workingDirectory>src/main/frontend</workingDirectory>
            <arguments>run-script build</arguments>
        </configuration>
    </execution>
    </executions>

        </plugin>
    </plugins>
</build>
piantino commented 6 years ago

It is better keep frontend separate from backend project. You can read a similar question here 698.

rmrajat commented 6 years ago

@Andre Piantino , blur admin uses gulp to build . and Folder structure is totally different of your article and blur-admin app as they use gulp. please help me out .

pom.xml:-----------------

npm install npm src/main/blur-admin-master install generate-resources
    <execution>
          <id>bower install</id>
             <goals>
               <goal>bower</goal>
             </goals>
                 <configuration>
                    <workingDirectory>src/main/blur-admin-master</workingDirectory>
                    <arguments>install</arguments>
                 </configuration>
    </execution>
    <execution>
        <id>gulp build</id>
        <goals>
          <goal>gulp</goal>
        </goals>
        <configuration>
        <workingDirectory>src/main/blur-admin-master</workingDirectory>
          <arguments>build</arguments>
        </configuration>
      </execution>

    </executions>

        </plugin>