Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/manufosela/witux-cli
Witux is a SSR pages builder tool using Standars and Web Components
https://github.com/manufosela/witux-cli
Last synced: 4 days ago
JSON representation
Witux is a SSR pages builder tool using Standars and Web Components
- Host: GitHub
- URL: https://github.com/manufosela/witux-cli
- Owner: manufosela
- License: apache-2.0
- Created: 2020-10-04T20:15:40.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-08-31T12:41:45.000Z (about 2 years ago)
- Last Synced: 2024-04-14T09:21:11.469Z (7 months ago)
- Language: JavaScript
- Homepage: https://manufosela.github.io/witux
- Size: 875 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# witux
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.**[witux](https://www.npmjs.com/package/witux)** is a set of tools to create static sites using standard javascript.
## Tools
_[witux](https://www.npmjs.com/package/witux)_, the command line interface to generate static pages
## Install like global cli
```bash
npm install -g @witux/witux-cli
```## Usage
### Generate scafolding
```bash
witux create-page scafolding [--languages 'lang1','lang2'[,...]] [--commonfiles 'file1','file2'[,...]]
```### Generate new Page
```bash
witux create-page PAGENAME [--languages 'lang1','lang2'[,...]]
```### Generate web-component
```bash
witux create-wc WC-NAME
```### Generate Build
To generate estatic HTML pages
```bash
witux build [--port PORT] [--workdir WORKDIR]
```## TREE DIR STRUCTURE
El proyecto consta de la siguiente estructura de carpetas:
```bash
|__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.