How do I get node.js and react to use an external js file when using module.exports and static html?

前端 未结 0 1937
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-17 01:27

I have an module.exports which has some static html. I\'m serving it this way...

import React, { Component } from "react";
var __html = require(\'.         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题