Do I really need to load all those plugins (plugins.js)?!?

3 replies · opened Nov 1, 2016

HHectooooNov 1, 2016

Hello Team,

I'm playing a bit with your theme because it looks nice but when trying to customise and run it seems hell.
Actually I'm just building a simple header with inside a logo and a navigation bar. Nothing complicated isn't it?
Looking for example at the file: header-light.html I see in the footer you load plugins.js and functions.js, both are huge files and I think I would need just a couple of those plugins to run.
I love to use bower and gulp (or grunt) in my projects and I already spent a few hours to organise less files getting just what I need for it but now, handling all that javascript, it is the hell.
Why did you copy / pasted all those plugins within a file?
How can I know which plugin I need for ONLY a single module in your theme?
Trying to clean it up a bit, uglify it, etc... I see everything blank, nothing work.
A theme is supposed to be used in various scenarios, MEAN apps, .net apps, static or dynamic apps, wordpress apps, etc... Should a developer really load all those plugins?!? I don't think so.
Same for the functions.js, it is totally bad to write all those functions in that way, if I delete a plugin the app crash.
I would like to have a well separated dependencies for each of your HTML pages.
You did it well, 265376 sample HTML pages, it was much more easier to include JUST the required plugins in the footer, JUST the required CSS files and JUST the required functions to run that specific page.
Can we please have it?

I hope in a quick reply...

Thanks

SSemicolon WebSTAFFNov 2, 2016

Hello,

We Really Apologize about the Inconveniences caused! We Definitely understand your concerns regarding this and are already working towards making improvements on this. We already have a JS Package Generator: http://support.semicolonweb.com/js-package-generator/ to generate the JS Code only for those Plugins which you require for your Website. We are also working on the CSS Package Generator which we will be releasing soon. Meanwhile, for the CSS please consider using the css/imports Folder and the style-import.css File to include/exclude the CSS according to your usage requirements.

Hope this Helps. Thanks for your Patience.

Do let us know if we can help you with anything else or if you find any further issues with Canvas.

HHectooooNov 8, 2016

Hello,

I just selected: "Cookie, Smooth Scrolling, Page loading transitions", it generated 2 files and functions.js is huge.
I loaded both through Grunt and launched my app and it is totally blank. I coded just the header. Nothing is visible. Neither a dummy text.
It show a loading spin with 3 balls at the beginning for half second and then just white.

In a few words: how can I use the theme I bought?
Or better: how can I use it in a professional way and not loading separated CSS, JS files in my layout?

Also, while I look this magnificent white page the console show tons of "things" not defined. That's probably because the generated file generate just plugins and not an essential functions.js file.

It is also missed the onepage.css in a less format.

I hope you can help in a short time. I bought a theme because I don't have time to create one from scratch but it is taking longer than creating one...

Thanks

SSemicolon WebSTAFFNov 9, 2016

Hello,

We Really Apologize about the Inconveniences caused! Unfortunately, Canvas was not created with Gulp, Grunt or AngularJS in mind and created for Vanilla HTML5/CSS3 Users.

Can you please provide us with a Live URL so that we can check out the exact issue and provide you with a more accurate solution for this as we have not yet received an Error Report from Other User regarding the JS Generator and it would be great to fix the issue and make it more reliable. Thanks for your Patience.

Only the Main Files have been created as LESS Files as we have converted the CSS to LESS. So you can simply link the css/onepage.css File directly in the Document <head> .

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard