Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/manufosela/lixt.io
lixt is a command line interface (cli) to build SSR sites with Lit-Element
https://github.com/manufosela/lixt.io
Last synced: 3 days ago
JSON representation
lixt is a command line interface (cli) to build SSR sites with Lit-Element
- Host: GitHub
- URL: https://github.com/manufosela/lixt.io
- Owner: manufosela
- License: apache-2.0
- Created: 2020-10-28T07:32:11.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-10-28T17:52:15.000Z (about 4 years ago)
- Last Synced: 2024-11-10T19:23:46.347Z (2 months ago)
- Language: JavaScript
- Size: 101 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lixt
LitElement New UX Tool of Web Development.
Generate static web pages with links to js and css files that are stored in the `dist` folder.
Oriented to HTML5, CSS, ES6 + and Web components standards through LitElement.
Based in conventions vs configurations.**[lixt](https://www.npmjs.com/package/lixt)** is a set of tools to create static sites using standard javascript.
## Tools
*[lixt](https://www.npmjs.com/package/lixt)*, the command line interface to generate static pages## Install like global cli
```
$ npm install -g lixt
```## Usage
### Generate scafolding
```
$ lixt create-page scafolding [--languages 'lang1','lang2'[,...]] [--commonfiles 'file1','file2'[,...]]
```### Generate new Page
```
$ lixt create-page PAGENAME [--languages 'lang1','lang2'[,...]]
```### Generate web-component
```
$ lixt create-wc WC-NAME
```### Generate Build
To generate estatic HTML pages
```
$ lixt build [--port PORT] [--workdir WORKDIR]
```## TREE DIR STRUCTURE
El proyecto consta de la siguiente estructura de carpetas:
|__ dist (after the build)
|__ resources
|__ src
|__assets
|__components
|__css
|__js
| |__lib
| |__pages
| |__tpl
|__json### Path `dist`
Path when the html pages are building after `npm run build`### Path `recursos`
Path whith resources like robots.txt and sitemap.xml.
These files are copied into dist dir.