René's URL Explorer Experiment


Title: chore(docs): add global lib docs by filipesilva · Pull Request #1747 · angular/angular-cli · GitHub

Open Graph Title: chore(docs): add global lib docs by filipesilva · Pull Request #1747 · angular/angular-cli

X Title: chore(docs): add global lib docs by filipesilva · Pull Request #1747 · angular/angular-cli

Description: This PR adds the global scripts functionality. It will allow users to designate javascript files to be loaded as if they were in a scripts tag in index.html. Global styles will be bundled in styles.bundle.js and global scripts will be in scripts.bundle.js, both loaded before main.bundle.js. It also changes apps[0].styles to be an array in order to match the new apps[0].scripts and better allow loading scripts and styles together. angular-cli.json : { // ... "apps": [ { // ... "styles": [ "styles.css" ], "scripts": [ ], // ... } ], // ... } Closes #1717 Functionality description in README: Global Library Installation Some javascript libraries need to be added to the global scope, and loaded as if they were in a script tag. We can do this using the apps[0].scripts and apps[0].styles properties of angular-cli.json. As an example, to use Boostrap 4 this is what you need to do: First install Bootstrap from npm: npm install bootstrap@next Then add the needed script files to to apps[0].scripts. "scripts": [ "../node_modules/jquery/dist/jquery.js", "../node_modules/tether/dist/js/tether.js", "../node_modules/bootstrap/dist/js/bootstrap.js" ], Finally add the Bootstrap CSS to the apps[0].styles array: "styles": [ "styles.css", "../node_modules/bootstrap/dist/css/bootstrap.css" ], Restart ng serve if you're running it, and Bootstrap 4 should be working on your app.

Open Graph Description: This PR adds the global scripts functionality. It will allow users to designate javascript files to be loaded as if they were in a scripts tag in index.html. Global styles will be bundled in styles...

X Description: This PR adds the global scripts functionality. It will allow users to designate javascript files to be loaded as if they were in a scripts tag in index.html. Global styles will be bundled in styles...

Opengraph URL: https://github.com/angular/angular-cli/pull/1747

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:f63516fc-21f5-28b7-67e2-99ada96dedb1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC3AA:31E3E4:2D7ED56:3BFAED4:6B05735E
html-safe-nonce4ad18d218588d8ceed30a99a8eb26af66f82ba1beeb25d48f6d7f37d957161c5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDM0FBOjMxRTNFNDoyRDdFRDU2OjNCRkFFRDQ6NkIwNTczNUUiLCJ2aXNpdG9yX2lkIjoiMTcyNDU0OTA0NjEwODI1NTA3MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac73a45f205547324dfc5c21f802845f4ea78ba528e238c95eacbad190c9a75021
hovercard-subject-tagpull_request:81913751
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/angular/angular-cli/pull/1747/files
twitter:imagehttps://avatars.githubusercontent.com/u/4172079?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/4172079?s=400&v=4
og:image:altThis PR adds the global scripts functionality. It will allow users to designate javascript files to be loaded as if they were in a scripts tag in index.html. Global styles will be bundled in styles...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None507b2d62524c0f595c35a2a2ee8a6ec54b119f245b3c59eaa070013b70ed1ada
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/angular/angular-cli git https://github.com/angular/angular-cli.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id36891867
octolytics-dimension-repository_nwoangular/angular-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id36891867
octolytics-dimension-repository_network_root_nwoangular/angular-cli
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasee7a883ae3b439b8952652eaa7803e2587f30e339
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/angular/angular-cli/pull/1747/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fpull%2F1747%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fpull%2F1747%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=angular%2Fangular-cli
Reloadhttps://github.com/angular/angular-cli/pull/1747/files
Reloadhttps://github.com/angular/angular-cli/pull/1747/files
Reloadhttps://github.com/angular/angular-cli/pull/1747/files
angularhttps://github.com/angular
angular-clihttps://github.com/angular/angular-cli
Codehttps://github.com/angular/angular-cli
Issues198 (198)https://github.com/angular/angular-cli/issues
Pull requests24 (24)https://github.com/angular/angular-cli/pulls
Actionshttps://github.com/angular/angular-cli/actions
Security and quality8 (8)https://github.com/angular/angular-cli/security
Insightshttps://github.com/angular/angular-cli/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fangular%2Fangular-cli%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fangular%2Fangular-cli%2Fissues%2Fnew%2Fchoose
filipesilvahttps://github.com/filipesilva
angular:masterhttps://github.com/angular/angular-cli/tree/master
filipesilva:bootstrap-instructionshttps://github.com/filipesilva/angular-cli/tree/bootstrap-instructions
Conversation 1 https://github.com/angular/angular-cli/pull/1747
Commits 2 https://github.com/angular/angular-cli/pull/1747/commits
Checks 0 https://github.com/angular/angular-cli/pull/1747/checks
Files changed https://github.com/angular/angular-cli/pull/1747/files
Please reload this pagehttps://github.com/angular/angular-cli/pull/1747/files
chore(docs): add global lib docs https://github.com/angular/angular-cli/pull/1747/files#top
Show all changes 2 commits https://github.com/angular/angular-cli/pull/1747/files
baeb761 chore(docs): add global lib docs filipesilva Aug 19, 2016 https://github.com/angular/angular-cli/pull/1747/commits/baeb761fe38efa1d1797f63afaf7ab4b8d10ae65
e38631c Merge branch 'master' into bootstrap-instructions filipesilva Aug 22, 2016 https://github.com/angular/angular-cli/pull/1747/commits/e38631c01915ff88155c36e13c4c2c9b6769b2d2
Clear filters https://github.com/angular/angular-cli/pull/1747/files
Please reload this pagehttps://github.com/angular/angular-cli/pull/1747/files
Please reload this pagehttps://github.com/angular/angular-cli/pull/1747/files
README.md https://github.com/angular/angular-cli/pull/1747/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
angular-cli.json https://github.com/angular/angular-cli/pull/1747/files#diff-67aa8fbe1608df5e824a1da82ea5a8bcfe84eb3f7d945cf71177a4d2984309d7
webpack-build-common.ts https://github.com/angular/angular-cli/pull/1747/files#diff-5ec26c6444464040b45569ca831785d8a39bec9de267a3c00937ca7b47cdcc39
schema.json https://github.com/angular/angular-cli/pull/1747/files#diff-9c8917ead6b1c3699e55bac90c4ba2dea4d945a9302b557c8dc5359dc8d65517
package.json https://github.com/angular/angular-cli/pull/1747/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
e2e_workflow.spec.js https://github.com/angular/angular-cli/pull/1747/files#diff-195ba3a05fd036475c200a3fde218d1f0e34b7c7b4952556436038c80f961582
README.mdhttps://github.com/angular/angular-cli/pull/1747/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
View file https://github.com/filipesilva/angular-cli/blob/e38631c01915ff88155c36e13c4c2c9b6769b2d2/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular-cli/pull/1747/{{ revealButtonHref }}
https://github.com/angular/angular-cli/pull/1747/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/angular/angular-cli/pull/1747/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/angular/angular-cli/pull/1747/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/angular/angular-cli/pull/1747/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/angular/angular-cli/pull/1747/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/angular/angular-cli/pull/1747/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
addon/ng2/blueprints/ng2/files/angular-cli.jsonhttps://github.com/angular/angular-cli/pull/1747/files#diff-67aa8fbe1608df5e824a1da82ea5a8bcfe84eb3f7d945cf71177a4d2984309d7
View file https://github.com/filipesilva/angular-cli/blob/e38631c01915ff88155c36e13c4c2c9b6769b2d2/addon/ng2/blueprints/ng2/files/angular-cli.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular-cli/pull/1747/{{ revealButtonHref }}
https://github.com/angular/angular-cli/pull/1747/files#diff-67aa8fbe1608df5e824a1da82ea5a8bcfe84eb3f7d945cf71177a4d2984309d7
https://github.com/angular/angular-cli/pull/1747/files#diff-67aa8fbe1608df5e824a1da82ea5a8bcfe84eb3f7d945cf71177a4d2984309d7
addon/ng2/models/webpack-build-common.tshttps://github.com/angular/angular-cli/pull/1747/files#diff-5ec26c6444464040b45569ca831785d8a39bec9de267a3c00937ca7b47cdcc39
View file https://github.com/filipesilva/angular-cli/blob/e38631c01915ff88155c36e13c4c2c9b6769b2d2/addon/ng2/models/webpack-build-common.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular-cli/pull/1747/{{ revealButtonHref }}
https://github.com/angular/angular-cli/pull/1747/files#diff-5ec26c6444464040b45569ca831785d8a39bec9de267a3c00937ca7b47cdcc39
https://github.com/angular/angular-cli/pull/1747/files#diff-5ec26c6444464040b45569ca831785d8a39bec9de267a3c00937ca7b47cdcc39
https://github.com/angular/angular-cli/pull/1747/files#diff-5ec26c6444464040b45569ca831785d8a39bec9de267a3c00937ca7b47cdcc39
https://github.com/angular/angular-cli/pull/1747/files#diff-5ec26c6444464040b45569ca831785d8a39bec9de267a3c00937ca7b47cdcc39
https://github.com/angular/angular-cli/pull/1747/files#diff-5ec26c6444464040b45569ca831785d8a39bec9de267a3c00937ca7b47cdcc39
lib/config/schema.jsonhttps://github.com/angular/angular-cli/pull/1747/files#diff-9c8917ead6b1c3699e55bac90c4ba2dea4d945a9302b557c8dc5359dc8d65517
View file https://github.com/filipesilva/angular-cli/blob/e38631c01915ff88155c36e13c4c2c9b6769b2d2/lib/config/schema.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular-cli/pull/1747/{{ revealButtonHref }}
https://github.com/angular/angular-cli/pull/1747/files#diff-9c8917ead6b1c3699e55bac90c4ba2dea4d945a9302b557c8dc5359dc8d65517
https://github.com/angular/angular-cli/pull/1747/files#diff-9c8917ead6b1c3699e55bac90c4ba2dea4d945a9302b557c8dc5359dc8d65517
package.jsonhttps://github.com/angular/angular-cli/pull/1747/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
View file https://github.com/filipesilva/angular-cli/blob/e38631c01915ff88155c36e13c4c2c9b6769b2d2/package.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular-cli/pull/1747/{{ revealButtonHref }}
https://github.com/angular/angular-cli/pull/1747/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
https://github.com/angular/angular-cli/pull/1747/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
tests/e2e/e2e_workflow.spec.jshttps://github.com/angular/angular-cli/pull/1747/files#diff-195ba3a05fd036475c200a3fde218d1f0e34b7c7b4952556436038c80f961582
View file https://github.com/filipesilva/angular-cli/blob/e38631c01915ff88155c36e13c4c2c9b6769b2d2/tests/e2e/e2e_workflow.spec.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular-cli/pull/1747/{{ revealButtonHref }}
https://github.com/angular/angular-cli/pull/1747/files#diff-195ba3a05fd036475c200a3fde218d1f0e34b7c7b4952556436038c80f961582
https://github.com/angular/angular-cli/pull/1747/files#diff-195ba3a05fd036475c200a3fde218d1f0e34b7c7b4952556436038c80f961582
https://github.com/angular/angular-cli/pull/1747/files#diff-195ba3a05fd036475c200a3fde218d1f0e34b7c7b4952556436038c80f961582
https://github.com/angular/angular-cli/pull/1747/files#diff-195ba3a05fd036475c200a3fde218d1f0e34b7c7b4952556436038c80f961582
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.