Using Node.js modules in HTML

后端 未结 3 1933
既然无缘
既然无缘 2021-01-12 12:04

I have the following Node.js project (which is a Minimal Working Example of my problem):

module1.js:

module.exports = function() {
          


        
3条回答
  •  心在旅途
    2021-01-12 12:22

    Your problems with Smoothie Require, were caused by a bug (https://github.com/letorbi/smoothie/issues/3). My latest commit fixed this bug, so your example should work without any changes now.

提交回复
热议问题