Hi, I want to get only the elements necessary for demo-restaurant working and not all js and css elements, can you help me ?
The package generator don't work for me.
Separate CSS and JS elements
1 reply · opened Oct 10, 2020
Hello,
Apologize about the Inconveniences caused!
We are actively working on fixing the Package Generator and it will be up and running again within a few hours today.
However, to strip the JS/CSS Codes based on your Website, you will need to Customize this manually as we provide everything by default since Canvas is a Multi-Purpose Template. Meanwhile, we do have solutions to do this easily:
For the CSS, you can use the
style-import.cssFile instead of thestyle.cssFile to import the CSS that is being used on your Website, and if any CSS Element is not required you can simply remove those import lines.For the JS, simply remove the
js/plugins.min.jsJS File Linking from the bottom of your Page. Then our Functions will intelligently detect which JS Components are being loaded on your Page and will load the JS dynamically based on those components. More information on this here: http://docs.semicolonweb.com/docs/getting-started/javascript/ .
Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
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