Title: Load semantic ui as global css in the application · Issue #1741 · angular/angular-cli · GitHub
Open Graph Title: Load semantic ui as global css in the application · Issue #1741 · angular/angular-cli
X Title: Load semantic ui as global css in the application · Issue #1741 · angular/angular-cli
Description: Please provide us with the following information: OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) Windows 8.1 Versions. Please run ng --version. If there's nothing outputted, please run in a Terminal: ...
Open Graph Description: Please provide us with the following information: OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) Windows 8.1 Versions. Please run ng --version. If there's nothi...
X Description: Please provide us with the following information: OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) Windows 8.1 Versions. Please run ng --version. If there's n...
Opengraph URL: https://github.com/angular/angular-cli/issues/1741
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Load semantic ui as global css in the application","articleBody":"> ## Please provide us with the following information:\n1. OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)\n Windows 8.1\n2. Versions. Please run `ng --version`. If there's nothing outputted, please run\n in a Terminal: `node --version` and paste the result here:\n angular-cli: 1.0.0-beta.11-webpack.2\n node: 6.3.1\n os: win32 x64\n3. Repro steps. Was this an app that wasn't created using the CLI? What change did you\n do on your code? etc.\n This app created using the CLI.\n I'm trying to using semantic ui for the css. I'm using their less plugin\n\n```\nnpm install --save semantic-ui-less\n```\n\nHow can i use the semantic ui less for global css in my application?\nI'm trying to load it in app.component.ts with failure.\n\n```\n@Component({\n selector: 'app-root',\n templateUrl: 'app.component.html',\n styles: [\n require('../../node_modules/semantic-ui-less/semantic.less')\n ],\n encapsulation: ViewEncapsulation.None\n})\nexport class AppComponent {\n title = 'app works!';\n}\n```\n1. The log given by the failure. Normally this include a stack trace and some\n more information.\n\n```\nERROR in ./~/semantic-ui-less/semantic.less\nModule build failed: Can't resolve '../../theme.config' in '[PATH]\\node_modules\\semantic-ui-less\\definitions\\modules'\n @ [PATH]\\node_modules\\semantic-ui-less\\definitions\\modules\\transition.less (line 19, column 0)\n near lines:\n\n @import (multiple) '../../theme.config';\n\n @ ./src/app/app.component.ts 20:16-76\n @ ./src/app/index.ts\n @ ./src/main.ts\n @ multi main\n\n```\n1. Mention any other details that might be useful.\n\n> ---\n> \n> Thanks! We'll be in touch soon.\n","author":{"url":"https://github.com/rkusuma","@type":"Person","name":"rkusuma"},"datePublished":"2016-08-18T08:06:34Z","url":"https://github.com/angular/angular-cli/issues/1741"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b1df9931-898c-0a30-7d38-237c050bf3df |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D3C0:1E1613:132E72F:1A4897E:6B056BDA |
| html-safe-nonce | 2576f2cb370ebada4794abfc9b5a2f85408af1df35ca913ae690f8de7f669c46 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEM0MwOjFFMTYxMzoxMzJFNzJGOjFBNDg5N0U6NkIwNTZCREEiLCJ2aXNpdG9yX2lkIjoiNzcyOTQ4Njc3NzA2NDcxMzE3OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2e15bbc883c7a1f5e8a69253b917887195efe18a749b3497b999f83e35d5a8d8 |
| hovercard-subject-tag | issue:171841287 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/1741/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5ced8922dd5b0ce1157e43e5a7ce953fbd5094364d45176c6614937d87a3083b/angular/angular-cli/issues/1741 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5ced8922dd5b0ce1157e43e5a7ce953fbd5094364d45176c6614937d87a3083b/angular/angular-cli/issues/1741 |
| og:image:alt | Please provide us with the following information: OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) Windows 8.1 Versions. Please run ng --version. If there's nothi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rkusuma |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9b4256ac5f3e310e7945ef5b71c9cb9e264357b1eb20e91d369ed6502a4c486c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f089e689ad324655ac44bf6cdbc04d976105b374 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width