Skip to content

Instantly share code, notes, and snippets.

@ederchrono
Last active October 28, 2020 18:53
Show Gist options
  • Select an option

  • Save ederchrono/a2859c21eaf2c5b6bb26b98c7065b731 to your computer and use it in GitHub Desktop.

Select an option

Save ederchrono/a2859c21eaf2c5b6bb26b98c7065b731 to your computer and use it in GitHub Desktop.

Revisions

  1. ederchrono revised this gist Oct 28, 2020. 1 changed file with 60 additions and 10 deletions.
    70 changes: 60 additions & 10 deletions QuickFrontendScaffolding.md
    Original file line number Diff line number Diff line change
    @@ -2,9 +2,8 @@

    This is a collection of links and snippets for the workshop.

    ## Snippets

    ### index.html
    ## index.html

    ```html
    <!DOCTYPE html>
    @@ -20,37 +19,88 @@ This is a collection of links and snippets for the workshop.
    </html>
    ```

    ### Tailwind
    ## Tailwind

    [Go to Site](https://tailwindcss.com/)

    ```html
    <link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">
    ```

    ### Live server
    ## Live server
    ```cli
    # from https://github.com/tapio/live-server
    npm install -g live-server
    ```

    ### Tailblocks
    ## Tailblocks

    [Go to Site](https://mertjf.github.io/tailblocks/)

    ### Tailwind UI
    ## Tailwind UI

    [Go to Site](https://tailwindui.com/components)

    ### TailwindComponents
    ## TailwindComponents

    [Go to Site](https://tailwindcomponents.com/)


    ### Admin template
    ## Admin template

    [Go to Site](https://github.com/tailwindtoolbox/Admin-Template)

    ### Netlify Drop
    ## Netlify Drop

    [Go to Site](https://app.netlify.com/drop)


    ## Users fake API

    Save this in `api/users.json`
    ```json
    {
    "users": [
    {
    "name": "Jhon",
    "email": "[email protected]"
    },
    {
    "name": "Jack",
    "email": "[email protected]"
    },
    {
    "name": "Ann",
    "email": "[email protected]"
    },
    {
    "name": "Karen",
    "email": "[email protected]"
    }
    ]
    }
    ```

    ## Vue

    [Go to Site](https://app.netlify.com/drop)
    Add Vue 3 to site
    ```html
    <script src="https://unpkg.com/vue@next"></script>
    ```


    Initialize Vue app
    ```html
    <script>
    Vue.createApp({
    data() {
    return {
    users: []
    }
    },
    mounted() {
    // TODO: fetch users and display them
    }
    }).mount('#user-list')
    </script>
    ```
  2. ederchrono created this gist Oct 27, 2020.
    56 changes: 56 additions & 0 deletions QuickFrontendScaffolding.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,56 @@
    # From zero to product page

    This is a collection of links and snippets for the workshop.

    ## Snippets

    ### index.html

    ```html
    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>My Awesome app</title>
    </head>
    <body>

    </body>
    </html>
    ```

    ### Tailwind

    [Go to Site](https://tailwindcss.com/)

    ```html
    <link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">
    ```

    ### Live server
    ```cli
    # from https://github.com/tapio/live-server
    npm install -g live-server
    ```

    ### Tailblocks

    [Go to Site](https://mertjf.github.io/tailblocks/)

    ### Tailwind UI

    [Go to Site](https://tailwindui.com/components)

    ### TailwindComponents

    [Go to Site](https://tailwindcomponents.com/)


    ### Admin template

    [Go to Site](https://github.com/tailwindtoolbox/Admin-Template)

    ### Netlify Drop

    [Go to Site](https://app.netlify.com/drop)