Skip to content

Update create-modulo and focus on JAMStack / one-click deploy to popular server companies #51

@michaelpb

Description

@michaelpb

What to do next:
Blocked by adding precise class isolation to style: #16 ---- Add new features to Style so we can do vanish, while safely
encapsulated

  • Improve create-modulo to make sure it's easy to deploy. Should support Netlify, Herokulikes, + anything else in Next.js / JAMStack world

  • New simpler layout:

      node_modules/
      static/
          index.html - (includes all global JS/ CSS, and also `Library -src="./components/"`)
          js/
              Modulo.js
              navigation.js
          css/
              globals.css
          components/
              index.html
              ArticleList/
                  ArticleList.html
                  ArticleList.css
                  ArticleList.js
              Page/
                  logo.svg
                  Page.html
                  Page.css
                  Page.js
      articles/
          index.html
          a_new_site.html
          getting_started_with_modulo.html
      about.html
      index.html
      package.json
    
  • package.json needs:

    • build (make sure 100% Netlify / heroku compat, --force SSG)
    • serve (make sure 100% Netlify / heroku compat, --force SSG)
    • start (dev mode; make sure 100% Netlify / heroku compat)
  • The example components should mostly / all be mode=vanish (with the
    exception of maybe a ContactForm or something)

Note that eventually, the goal might be to have NO node_modules (and
thus no dependencies):

    _backend/
        modulocli.js
        modulocli-dependencies/ (vwindow.js etc)
    static/
        etc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions