0.1.6 • Published 2 years ago

lightuepress v0.1.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

LightuePress

Lightue and snarkdown powered static site generator

It is similar to VuePress, VitePress, Docsify. But it has the following highlights:

  • Super lightweight (<6KB min+br)
  • No compilation or server configuration needed

Usage

Create your entry html file, add CDN script and pass in your configurations:

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Your title</title>
  </head>
  <body>
    <script src="https://unpkg.com/lightuepress@0.1.5/dist/lightuepress.min.js"></script>
    <script>
      // optionally set your default path based on user language
      if (location.hash == '') location.hash = navigator.language.slice(0, 2) == 'zh' ? '#/zh/' : '#/'
      // call Lightuepress and pass in configurations
      Lightuepress({
        // refer to this example on how to configure Lightuepress
        // https://github.com/smalllong/lightue/blob/master/docs/index.html
      })
    </script>
  </body>
</html>

Live example: https://lightue.netlify.app/

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago