Hello,
I was using this to build a Website but I am facing issues. The latest one is with the sample project. Sharing the steps to reproduce the error
- Step 1 : Clone
- Step 2: Install Mini Mongo Package (@blastjs/minimongo)
- Step 3: Go to main.js & remove header.html & sidebar.html
// require('./header.js'); // require('./sidenav.js')
- Step 4: Make main.js should look like
`
import { ReactiveVar } from '@blastjs/reactive-var';
const { LocalCollection } = require("@blastjs/minimongo/dist/local_collection");
export const Data = new LocalCollection("data");
// require('./header.js');
// require('./sidenav.js');
require('./main.html');
Template.main.onCreated(function onCreated() {
setInterval(function(){
Data.insert({data: Date.now()})
},1000);
});
Template.main.helpers({
allData() {
return Data.find({});
},
});
`
Go to inside main.html
<template name="main">
{{#each allData}}
{{data}}
{{/each}}
</template>
This time, everything will work as expected but if you change main.html to this
<template name="main">
<div> Hello</div>
{{#each allData}}
{{data}}
{{/each}}
</template>
This would stop working. You will not be able to compile using npx webpack
Sharing the logs too

Hello,
I was using this to build a Website but I am facing issues. The latest one is with the sample project. Sharing the steps to reproduce the error
// require('./header.js'); // require('./sidenav.js')`
`
Go to inside main.html
This time, everything will work as expected but if you change main.html to this
This would stop working. You will not be able to compile using npx webpack
Sharing the logs too
