deckgo / starter-kit

The developer kit to create slides with DeckDeckGo
https://deckdeckgo.com
MIT License
47 stars 13 forks source link

Components names and repo, projects structure #11

Closed peterpeterparker closed 5 years ago

peterpeterparker commented 5 years ago

I'm working on providing some default templates/layout and a custom slides, to let user create their presentations faster using templates.

Once this split project done, user will be able to write presentation like the following:

<deckdeckgo-deck>
  <deckdeckgo-slide-title>
    <h1 slot="title">DeckDeckGo</h1>
    <p slot="content">Hello World  πŸš€</p>
  </deckdeckgo-slide-title>
</deckdeckgo-deck>

This will be split in a separate project built with StencilJS and published in npm. Following this I'm not sure about how I should structure all the DeckDeckGo components.

Idea 1

aka

git clone https://github.com/fluster/deckdeckgo my-presentation
cd my-presentation
npm install
-- optionaly npm i deckdeckgo-deck, the templates
-- I write my presentation
npm run build

Idea 2

aka

git clone https://github.com/fluster/deckdeckgo-starter my-presentation
cd my-presentation
npm install
-- optionaly npm i deckdeckgo, the templates
-- I write my presentation
npm run build

Idea 3

In case I would add a Cli (https://github.com/fluster/deckdeckgo/issues/10)

npm install -g deckdeckgo-cli
deckdeckgo go my-presentation
cd my-presentation
-- I write my presentation
npm run build
peterpeterparker commented 5 years ago

Thx @nmattia for the brainstorming, the outcome and future regarding projects structure of DeckDeckGo will be the following:

later on maybe

peterpeterparker commented 5 years ago