I’m trying out Snap on meteor but have problems starting my app. I think its my main.html that’s the issue. I’ve installed the snap package but i’m using the script source in the html doc.
main.html
> <head>
> <title>Snap Svg</title>
> <h1>Welcome to SNap!</h1>
> <script src="snap.svg-min.js"></script>
> </head>
> {{> main}}
> <body>
> <script>
> var s = Snap(400,200);
> var bigCircle = s.circle(150,150,100);
> var rect = s.rect(200, 0, 200, 200);
> </script>
> </body>
> <template name="main">
> <svg id="svg"></<svg>
> </template>
main.js
> import { Template } from 'meteor/templating';
> import { ReactiveVar } from 'meteor/reactive-var';
> import { Chart } from 'chart.js';
> import { Snap} from 'core';
> import './main.html';