ngssm-regex-tools
v19.0.0
Published
NgSsm - Controls and services to manage regular expressions validated with C# code.
Downloads
57
Readme
ngssm-regex-tools
Angular components associated to https://github.com/LionMarc/smusdi-regex-tools.
To build the wasm:
dotnet publish src/Smusdi.Wasm/Smusdi.Wasm.csproj --configuration Release
to build with multithread:
- set to true the WasmEnableThreads property in Smusdi.Wasm
- export a method that returns a Task
Installation of the angular package ngssm-regex-tools
For now, there is no add schematic to do this. It is planned but not done.
package installation
npm install --save ngssm-regex-tools
update angular.json to import package assets
"assets": [ { "glob": "**/*", "input": "node_modules/ngssm-regex-tools/assets", "output": "./assets/smusdi/" }, ... ],
update index.html to load .NET assemblies
<head> ... <script type="module" src="./assets/smusdi/smusdi.regextools.js"></script> </head>
update styles.scss to import package styles
@import "ngssm-regex-tools/styles/ngssm-regex-tools.scss";