Skip to content

will you try to use angular2-cli? #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
keryhu opened this issue Oct 10, 2016 · 1 comment
Closed

will you try to use angular2-cli? #15

keryhu opened this issue Oct 10, 2016 · 1 comment

Comments

@keryhu
Copy link

keryhu commented Oct 10, 2016

Hi,akirasosa

I have build a angular2-app and spring boot app, refer to your work.

now , I find angular2-cli is concise maybe, will you plan to try?

I want to try ,but do not know how to set the "outDir","Proxy To Backend"

e.g

{
  "/api": {
    "target": "http://localhost:8080",
    "secure": false
  }
}

and in spring boot , how to set index.html.

<body>
<mpt-app />
<script th:src="|//${assetHost}/${manifest.get('polyfills.js')}|"></script>
<script th:src="|//${assetHost}/${manifest.get('vendor.js')}|"></script>
<script th:src="|//${assetHost}/${manifest.get('main.js')}|"></script>
@akirasosa
Copy link
Contributor

@keryhu
I have not tried it yet. I'm interested in it and @ngtools/webpack.

If you want to "Proxy To Backend", it must be that index.html is served from angular-cli server, not spring boot (API server).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants