Move fs to exporter and add browser packer
This commit is contained in:
22
demo/browser-demo.html
Normal file
22
demo/browser-demo.html
Normal file
@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<script src="../build/index.web.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<h1>DOCX browser Word document generation</h1>
|
||||
|
||||
<button type="button" onclick="generate()">Click to generate document</button>
|
||||
|
||||
<script>
|
||||
function generate() {
|
||||
console.log('g');
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
Reference in New Issue
Block a user