A RequireJS/AMD loader plugin for loading text resources.
Known to work in RequireJS, but should work in other AMD loaders that support the same loader plugin API.
The text.js AMD loader plugin can help with this issue. It will automatically be loaded if the text! prefix is used for a dependency. Download the plugin and put it in the app's baseUrl directory.
Install-Package RequireJS.Text -Version 2.0.7
dotnet add package RequireJS.Text --version 2.0.7
<PackageReference Include="RequireJS.Text" Version="2.0.7" />
paket add RequireJS.Text --version 2.0.7
- RequireJS (>= 2.1.6)