10.1.38 • Published 5 years ago

paperclip-static-html-compiler v10.1.38

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

Compiles Paperclip files down to vanilla HTML & CSS

TODO:

  • ability to define pages via config
  • Possibly connect to "build" button in UI
  • variable triggers for setting state
  • controller code
  • move file assets toassets directory

Config example:

module.exports = {
  // for all pages
  cssFileName: "index.css",
  pages: [
    {
      fileName: "index.html",
      component: {
        name: "Main"
      },
      variables: {
        "/": "home"
      }
    },
    {
      fileName: "contact.html",
      component: {
        name: "Main"
      },
      variables: {
        "/": "contact"
      }
    },
    {
      fileName: "people.html",
      data: {
        people: []
      },
      variables: {
        "/": "people"
      }
    }
  ]
};
10.1.38

5 years ago

10.1.36

5 years ago

10.1.33

5 years ago

10.1.32

5 years ago

10.1.31

5 years ago

10.1.26

5 years ago

10.1.25

5 years ago

10.1.23

5 years ago

10.1.22

5 years ago

10.1.21

5 years ago

10.1.18

5 years ago

10.1.17

5 years ago

10.1.15

5 years ago

10.1.14

5 years ago

10.1.13

5 years ago

10.1.10

5 years ago

10.1.9

5 years ago

10.1.8

5 years ago

10.1.7

5 years ago

10.1.6

5 years ago