1
0
Fork
You've already forked lue
0
Lightweight Vue bundler and web package manager
  • Lua 100%
2026年06月01日 12:54:16 +02:00
lue Fix Lua 5.1 compatibility 2026年06月01日 12:51:35 +02:00
rockspecs Release v0.1.1 2026年06月01日 12:54:16 +02:00
.gitignore Add .gitignore 2025年08月13日 17:37:04 +02:00
.luarc.json Initial Commit 2025年08月13日 17:36:37 +02:00
changelog.md Release v0.1.1 2026年06月01日 12:54:16 +02:00
LICENSE Add license 2025年08月13日 17:57:20 +02:00
lue-scm-0.rockspec Fix Lua 5.1 compatibility 2026年06月01日 12:51:35 +02:00
readme.md Add readme.md 2025年08月13日 17:55:48 +02:00

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