-
Notifications
You must be signed in to change notification settings - Fork 82
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
Inline snippets not rendering #30
Comments
@wireframe I'm happy to help out and see what's going on, but I'll need some details. Can you copy/paste code samples or share links to a public gist or repository? |
I'll do my best to create a simple testcase. My guess at the moment is that it may have something to do with organizing my components into pods? I'm using the ember-component-css addon which requires pods at the moment. |
You may need to specify ember-freestyle/ember-cli-build.js Line 12 in 789cbb2
By default, ember-freestyle looks in |
FYI, the technique comes from https://github.com/ef4/ember-code-snippet |
@wireframe Let me know if this resolves things for you. |
Thanks Chris. I'll try to test out this change today! Ryan Sonnek
|
Unfortunately, No :dice: using this approach. It could easily be user error, but I've been unable to trace down the root cause of this issue. I'm going to have to table this issue for the time being, and you can feel free to close out this issue until I have time to revisit it further. |
@wireframe Is you |
I would suggest we add some sane defaults for the snippet path based on the
|
I think I am having a similar issue. I found that inline snippets in my scss files are not found, but if I put them in a js file (like the freestyle.js controller) then they are found. The scss files are in the app folder, so I believe they should be in the snippetSearchPaths by default. The example snippet that works in js but not scss is:
|
FYI, this whole setup needs to be cleaned up. I think these are the two next issues to focus on: |
@Niltz I just published v0.2.12, which supports SCSS note snippets. You can see it in action here: Source
/* BEGIN-FREESTYLE-USAGE fpi:notes
# Markdown Notes In SCSS!
Hey look... these are `markdown` notes:
- coming from scss
- looking nice
END-FREESTYLE-USAGE */ Rendered |
@chrislopresto v0.2.12 fixes my issue. Thanks! |
@wireframe I'm going to close this for now. Feel free to reopen or open a new issue if your problem persists. |
I've run the example "dummy" app multiple times and things work great, but when I use the addon generators w/ nearly the exact same markup, I don't see any of the inline rendered snippets for code/markup/etc.
I have this issue with my custom components as well as the default freestyle-palette components.
Any tips for how to debug/troubleshoot?
The text was updated successfully, but these errors were encountered: