Skip to content

Inline SCSS/Template #2809

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
montella1507 opened this issue Oct 20, 2016 · 5 comments
Closed

Inline SCSS/Template #2809

montella1507 opened this issue Oct 20, 2016 · 5 comments

Comments

@montella1507
Copy link

Hello, how does it exactly work in [email protected]??

I have

  "styles": [
        "content/styles/style.scss"
      ],

...

  "inline": {
      "style": true,
      "template": false
    },

In my angular-cli but the style is still in <style> tag.. is that bug? or i am just missing some information and shoulda close this ?

@grizzm0
Copy link
Contributor

grizzm0 commented Oct 20, 2016

The defaults is default arguments when you create a new component. If the template and style should be inlined in the component or creating a separate html/css file.

The global styles are currently written to a js file which appends all styles to your head upon loading. There's nothing wrong here.

@montella1507
Copy link
Author

Ah so.. so my fault.. i though its additional functionality, where i cant choose if the styles should be rendered to the DOM, or loaded as .css files with map files :-(

@grizzm0
Copy link
Contributor

grizzm0 commented Oct 20, 2016

angular-cli does not let you configure any of the output.

#2646 is hopefully what you're looking for.

@montella1507
Copy link
Author

thank you..i cant wait for it

@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