Closed guidev224 closed 3 years ago
you should take the iife version (same file name, but with iife). The cjs is for use in bundlers/other kind of tooling. Sorry, the js ecosystem is kind of a mess! We should add a note to clarify that in the tutorial.
@ged-odoo thanks for your response. I'll give it try
Hello,
I am trying to follow the owl tutorial for beginner and have copied the content of this file OWL JS FILE
But I am getting this error
Uncaught ReferenceError: exports is not defined.
at this lineObject.defineProperty(exports, '__esModule', { value: true });
I have even installed node js on my machine but still getting the errorI have followed thoroughly the tutorial guide
App Structure
index.html
app.js