question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Create a "blank" default template

See original GitHub issue

Right now you have to specify --template hugo|jekyll. I don’t love this for two reasons:

  • That’s not 0 config 😉
  • Pushing Hugo or Jekyll may not the be the right choice

Instead, I propose running create-static-site <dirname> creates the bare minimum of a static site – asset processing & static files.

This could then evolve into a few other “bare-minimum” templates like a react -> toString template.

Thoughts? @ncphillips @budparr @scottgallant ?

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
chrisdmacraecommented, Feb 28, 2018

I went with two webpack configs because they’re so heavy and I have detailed comments.

1reaction
Germoecommented, May 3, 2018

I think it would be helpful to give users the option to choose a template. If we consider that static site generators are pretty new to most of our users than we should make it very easy for them to use C-S-S with the template of their choice.

Say a user wants to use Jekyll the CLI could install the blank template and then prompt the user in a second step whether they would like to install an SSG (Jekyll, Hugo, Hexo etc.). Taking this a step further it maybe should even prompt them if they wanted to install a theme or not in a third step (I think it’s really difficult to figure out how to add a theme to C-S-S at the moment). Vue.js has solved the CLI experience beautifully -> screen shot 2018-05-02 at 4 17 16 pm

This might be less zero config but is in my opinion more in tune with what Create-React-App did for me. Run a command in the CLI and have a fully functioning app already pre-loaded with a theme so I have to only adjust code rather than write code from scratch and pick and choose providers myself.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create a default blank template - Google Support
Create a site that will be your default Blank template. Customize it however you want. Add the site to your template gallery. Name...
Read more >
Creating new or blank Template Sets - Ableton
To create a blank Template Set, navigate to Live's Browser under Templates, right-click on the DefaultLiveSet.als and select Set Default Live Set.
Read more >
How to create a default page template - Full Site Editing
Then go to the Template section in the page sidebar and choose “New”. In WordPress 6.0:
Read more >
Save a Word document as a template - Microsoft Support
Save a Word document as a template · Click File > Open. · Double-click This PC. (In Word 2013, double-click Computer). · Browse...
Read more >
How to change the default template in Office 365 - AddictiveTips
All Office apps have a default document or file template which is a 'blank' template. You can download various templates for most Office ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found