Skip to content

Instantly share code, notes, and snippets.

@mwickett
Last active August 3, 2017 18:40
Show Gist options
  • Select an option

  • Save mwickett/54c9ddc93df2894c5d4138225ae176a6 to your computer and use it in GitHub Desktop.

Select an option

Save mwickett/54c9ddc93df2894c5d4138225ae176a6 to your computer and use it in GitHub Desktop.

Revisions

  1. mwickett revised this gist Aug 3, 2017. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion spike-beginner.md
    Original 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
    1. Reshape responsive `<picture>` element
    2. Dato image helper (grab the asset URL and drop it in front of image resources)
  2. mwickett revised this gist Jun 27, 2017. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion spike-beginner.md
    Original 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)


    *Add more here*
    ## PR ideas

    1. Reshape responsive `<picture>` element
  3. mwickett revised this gist Jun 27, 2017. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions spike-beginner.md
    Original 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`?
    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
    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)

  4. mwickett revised this gist Jun 27, 2017. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions spike-beginner.md
    Original 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*
  5. mwickett created this gist Jun 27, 2017.
    19 changes: 19 additions & 0 deletions spike-beginner.md
    Original 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*