Skip to content

Commit

Permalink
update dep & remove py2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
manatlan committed Aug 3, 2023
1 parent 54e28c6 commit 4ea7454
Show file tree
Hide file tree
Showing 3 changed files with 172 additions and 274 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ It's just an utility to [generate](https://github.com/manatlan/vbuild/blob/maste

## Features

* **NO node-js stack**, only pure python (py2 or py3 compliant) **py2.7 is DEPRECATED**
* **NO node-js stack**, only pure python3
* Ability to use [python components](https://github.com/manatlan/vbuild/blob/master/doc/PyComponent.md)
* Components can be styled with [SASS or LESS ccs-pre-processors](https://github.com/manatlan/vbuild/blob/master/doc/CssPreProcess.md) !
* Provide a [JS-minifier (ES5 compliant JS, via closure)](https://github.com/manatlan/vbuild/blob/master/doc/minimize.md)
* Ability to [post process stuff](https://github.com/manatlan/vbuild/blob/master/doc/PostProcess.md), with your own processors
* Respect [VueJs specs](https://vue-loader.vuejs.org/spec.html) (at least one template tag, many style (scoped or not) tags)
* `templates` are converted to a `<script type="text/x-template" id="XXX"></script>` (not converted to JS)
* Unittested (coverage 100%)
* no import/from !
* no import/from !


```python
import vbuild
Expand All @@ -41,7 +41,7 @@ print( c.html )
print( c.script )
print( c.style )

#or
#or

print( c ) # all stuff in html tags

Expand All @@ -63,7 +63,7 @@ writeYourTemplate("index.html",buf)

## Vue/sfc component compatibility

All classical JS vue/sfc components are compatibles. But now, you can use [python component](https://github.com/manatlan/vbuild/blob/master/doc/PyComponent.md) too.
All classical JS vue/sfc components are compatibles. But now, you can use [python component](https://github.com/manatlan/vbuild/blob/master/doc/PyComponent.md) too.

Here is, side by side, the same component (in js, and in python):

Expand All @@ -77,7 +77,7 @@ If you want to use the full features, you'll need to install the optionnal's lib
sudo pip install pyscss lesscpy closure
```

All theses libs works with py2 and/or py3, and you could use the [css-pre-processors SASS and LESS](https://github.com/manatlan/vbuild/blob/master/doc/CssPreProcess.md), and [closure to minify js](https://github.com/manatlan/vbuild/blob/master/doc/minimize.md).
All theses libs works with py3, and you could use the [css-pre-processors SASS and LESS](https://github.com/manatlan/vbuild/blob/master/doc/CssPreProcess.md), and [closure to minify js](https://github.com/manatlan/vbuild/blob/master/doc/minimize.md).

## TODO

Expand Down
Loading

0 comments on commit 4ea7454

Please sign in to comment.