[READ-ONLY] Mirror of https://github.com/thoda-dev/svg-lua. svg lua library
0

Configure Feed

Select the types of activity you want to include in your feed.

Update README.md

Thomas (Dec 11, 2018, 2:45 PM +0100) 8a3bb618 539550bd

+2 -7
+2 -7
README.md
··· 8 8 9 9 ## usage 10 10 11 - To use the installed minified version, you must add the reference for LUA to the file. 12 - To do it, add the following at the begining of your LUA file *(replace <path_to_the_node_module_directory> by the correct string eg: ".\\" if it's in the same directory)*: 13 - ***If you are using relative path, think it's the path from the LUA binaries files, not from you code file*** 11 + To use the installed minified version with `Require "svg-lua"`, you must add the reference for LUA to the file. 14 12 15 - ```lua 16 - package.path = package.path .. ";" .. "<path_to_the_node_modules_directory>\\node_modules\\svg-lua\\?.lua" 17 - require "svg-min" 18 - ``` 13 + Check the `package.path` documentation for more information about it. 19 14 20 15 ```lua 21 16 mon_dessin = svg:create()