| lue | Fix Lua 5.1 compatibility | |
| rockspecs | Release v0.1.1 | |
| .gitignore | Add .gitignore | |
| .luarc.json | Initial Commit | |
| changelog.md | Release v0.1.1 | |
| LICENSE | Add license | |
| lue-scm-0.rockspec | Fix Lua 5.1 compatibility | |
| readme.md | Add readme.md | |
Lue
Lightweight Vue bundler and web package manager.
About
Lue is a small tool written in Lua that aims to build very simple Vue projects.
Within its scope, it replaces the vite tool and the npm package manager.
Installation
Via luarocks
> luarocks install lue
Usage
Lue can (more or less) be used on existing Vue projects, given that they are simple enough to be covered by the features it provides.
After installing Lue and creating a project configuration file (lue.cfg.lua), your project can be built by invoking the lue-command:
> lue
Besides compiling Vue (.vue) and SCSS (.scss) files, one of the features of Lue is to fetch packages from https://npmjs.com (e.g. Web frameworks).
This happens automatically as needed or can be triggered specifically by running:
> lue fetch
Project Configuration
Lue projects are configured by a lue.cfg.lua-file in the root folder of the web project.
Configuration reference:
-- example `lue.cfg.lua` file
-- Vue root component (Vue compilation entrypoint)
main = 'src/App.vue'
-- custom html index source file (defaults to index.html)
index = 'index.html'
-- dependencies from https://npmjs.com/
-- versioning folows the syntax of luarocks (~>, =, >, etc.)
packages = {
'bootstrap ~> 5'
}
License Information
lue is licensed under the MIT License.
Created by Lesosoftware in 2025