Last active
August 3, 2017 18:40
-
-
Save mwickett/54c9ddc93df2894c5d4138225ae176a6 to your computer and use it in GitHub Desktop.
Revisions
-
mwickett revised this gist
Aug 3, 2017 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -19,4 +19,5 @@ This is a WIP list of things that either tripped me up, or needed extra explanat ## PR ideas 1. Reshape responsive `<picture>` element 2. Dato image helper (grab the asset URL and drop it in front of image resources) -
mwickett revised this gist
Jun 27, 2017 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -17,4 +17,6 @@ This is a WIP list of things that either tripped me up, or needed extra explanat 3. Using and importing .env file to store tokens / secrets etc. (this is pretty common, but may still be worth documenting) ## PR ideas 1. Reshape responsive `<picture>` element -
mwickett revised this gist
Jun 27, 2017 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,11 +8,11 @@ This is a WIP list of things that either tripped me up, or needed extra explanat 2. Conditionals - `if` statements in reshape silently fail if there is a stray space at the end of the line 3. Loops - difference between `of` and `in` 4. Local functions - using them as 'mixins' - showing a couple of examples would be great. Need to use {{{ }}} 3 curlies rather than 2 5. Markdown - Why do I need to require and use something like `marked` when `markdown-it` is already integrated into `reshape-content`? See the (FAQ)[https://spike.readme.io/docs/faqs#section-markdown-processing-locals] ## app.js config 1. Plugin config - tutorial/walkthrough on hooking up DatoCMS or Contentful for example and using features (transforms, json, etc.) 2. spike watch - not firing on ignored files (like template files or partials) 3. Using and importing .env file to store tokens / secrets etc. (this is pretty common, but may still be worth documenting) -
mwickett revised this gist
Jun 27, 2017 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,6 +14,7 @@ This is a WIP list of things that either tripped me up, or needed extra explanat 1. Plugin config - tutorial/walkthrough on hooking up DatoCMS or Contentful for example 2. spike watch - not firing on ignored files (like template files or partials) 3. Using and importing .env file to store tokens / secrets etc. (this is pretty common, but may still be worth documenting) *Add more here* -
mwickett created this gist
Jun 27, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ # Spike Beginner Thoughts This is a WIP list of things that either tripped me up, or needed extra explanation and research before I really understood them. This may serve as a starting point for tutorial style articles, or additions and improvements to Spike's documentation. ## sugarml / reshape 1. Includes - the fact that you can use includes as a simple component because inludes receive their parent scope variables 2. Conditionals - `if` statements in reshape silently fail if there is a stray space at the end of the line 3. Loops - difference between `of` and `in` 4. Local functions - using them as 'mixins' - showing a couple of examples would be great. Need to use {{{ }}} 3 curlies rather than 2 5. Markdown - Why do I need to require and use something like `marked` when `markdown-it` is already integrated into `reshape-content`? ## app.js config 1. Plugin config - tutorial/walkthrough on hooking up DatoCMS or Contentful for example 2. spike watch - not firing on ignored files (like template files or partials) *Add more here*