aranja / tux

"Create React App" with SSR and a flexible addon system

Home Page:https://tux.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve the new site template

eirikurn opened this issue · comments

  • Should have a bit more (still minimal) render output.
  • Fetch a model and render it with Editable?
  • Better readme. Document app.js contract.

The start script should also look like this, since HTTPS is required for contentful login, and port 3000 is assumed in new's app.js

"start": "PORT=3000 HTTPS=true tux-scripts start",

If #113 gets merged, we could even skip the PORT var

"start": "HTTPS=true tux-scripts start",

In Ember they have a welcome page component and a package. Might be nice to do it that way so it's easy to remove and we can show guides with the next steps on the page itself.

I agree @thorsteinsson – same with storybook, you always get a 'Welcome' story that explains how stuff works and a 'Button' story as a secondary example.

We're moving the admin logic (and contentful config) into a tux addon. The site template will be updated to match. We're also finally working on more documentation that can be added to the readme.

This is completely different and better in v0.4 (no admin stuff by default). We'll look into creating a better admin template later.