svgx 19.3.3
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global svgx --version 19.3.3
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local svgx --version 19.3.3
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=svgx&version=19.3.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package svgx --version 19.3.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
SVGX
svgx is a dotnet tool , Help developers build svg symbol sprite easily.
Install
dotnet tool install svgx -g # --version xx.xx.xx
# make sure using "lastest" version only !!!
dotnet tool uninstall -g svgx
Use
cd /your/svgFile/folder && svgx
# svgx will build a preview html and symbol.svg
using svgx args
print help
svgx -h
clean all svg file in current folder (Overwrite)
svgx -c
clean and backup svg file to ./svg folder when source file changed
svgx -cb
Specify output path setting
svgx -o ./filepath
# by default will using filename 'symbol.svg'
# you can use
svgx -o ./filepath/my-filename.svg
Set symbol prefix
svgx -p=icon
# or
svgx --prefix=icon
# it's will add prefix on svg symbol id
# like: <symbol id="left"
# to : <symbol id="icon-left"
Disable the preview output
svgx -np
# by defult , svgx will build a simple preview.html
# you can use -np to disable this function
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.2 is compatible. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.