如何实现 inversifyJS 基本示例介绍 html 页
How to implement inversifyJS basic example intro html page
我找不到 html 页面的示例或浏览器的任何实时示例(html 页面)。
我需要一些基本示例来导入 lib 并制作一个 class。
我在 http://inversify.io 上发现:
InversifyJS compiles to clean, simple JavaScript code which runs on
any browser, in Node.js, or in any JavaScript engine that supports
ECMAScript 5 (or newer).
要在 Web 浏览器中使用 InversifyJS,您将需要 Webpack。你需要像现在使用任何其他前端库一样捆绑你的应用程序。我们没有官方示例,但我找到了这篇博客 https://blog.kloud.com.au/2017/03/22/dependency-injection-in-vuejs-app-with-typescript/ and the code is available on GitHub https://github.com/devkimchi/Vue.js-with-ASP.NET-Core-Sample/tree/master/src/VueJsTsIocSample
我找不到 html 页面的示例或浏览器的任何实时示例(html 页面)。
我需要一些基本示例来导入 lib 并制作一个 class。
我在 http://inversify.io 上发现:
InversifyJS compiles to clean, simple JavaScript code which runs on any browser, in Node.js, or in any JavaScript engine that supports ECMAScript 5 (or newer).
要在 Web 浏览器中使用 InversifyJS,您将需要 Webpack。你需要像现在使用任何其他前端库一样捆绑你的应用程序。我们没有官方示例,但我找到了这篇博客 https://blog.kloud.com.au/2017/03/22/dependency-injection-in-vuejs-app-with-typescript/ and the code is available on GitHub https://github.com/devkimchi/Vue.js-with-ASP.NET-Core-Sample/tree/master/src/VueJsTsIocSample