Skip to content
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

Question: Embed my css, images, fonts, js and more #1812

Closed
paulocoutinhox opened this issue Aug 23, 2016 · 2 comments
Closed

Question: Embed my css, images, fonts, js and more #1812

paulocoutinhox opened this issue Aug 23, 2016 · 2 comments

Comments

@paulocoutinhox
Copy link

Hi,

In my project GoCI, im migrating my web app to a web app with ng2. Everything is working before i migrate to angular-cli.

I have installed angular-cli, create the project, put my source files, bla bla bla.

When i run "ng serve", it is loading and working. But all css, bootstrap files, jquery, are not loaded:

My project and files:
https://github.com/prsolucoes/goci/tree/support-angular2/web-app

Screenshot of the result from "ng build":
https://www.dropbox.com/s/kjop1kv3d4gq6wx/Screenshot%202016-08-23%2011.41.14.png?dl=0

My index.html that i tried load my css/js rom bootstrap 3, jqury, toatr, ...:
https://github.com/prsolucoes/goci/blob/support-angular2/web-app/src/index.html

My angular-cli.json file:
https://github.com/prsolucoes/goci/blob/support-angular2/web-app/angular-cli.json

Can anyone help me?

Thanks.

@filipesilva
Copy link
Contributor

#1633 and #1747 address your needs, but the webpack version hasn't had a release yet that includes support for global styles and scripts. It should be available to install soon.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants