Shopify/draggable

Examples new page generator

Open

#110 建立於 2018年1月7日

在 GitHub 查看
 (6 留言) (0 反應) (0 負責人)JavaScript (17,381 star) (1,066 fork)batch import
examplesfeature-requesthelp wanted

描述

For when we launch the Examples site

I would like a simple way to bootstrap a new page.

Here is how I'm imagining it would work:

$ yarn run new-page

Answer the following questions and a blank new page template will be generated for you.

- - - - -

Under what group does this Example belong?
> 1. Draggable
  2. Droppable
  3. Sortable
  4. Swappable
  5. Plugins

- - - - -

What is the name of this Example?
> new page|

- - - - -

Provide a roughly 150-character description of this example
> My descr|

- - - - -

Generating files...
Okay, all set! The following new files have been created/modified:

m: src/content/index.js
m: src/styles/examples-app.scss
m: src/views/data-pages.json

a: src/content/Draggable/NewPage/index.js
a: src/content/Draggable/NewPage/NewPage.html
a: src/content/Draggable/NewPage/NewPage.scss
a: src/views/new-page.html

Now, get to work on those added files!

$ |

If anyone is interested in taking this on, that would be awesome! Please assign yourself to the issue if you are going to start work on it.

Otherwise, I will try to do this when I get the chance. If I decide to tackle it, I will assign myself to the issue.

貢獻者指南