JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › General Discussions › Distribution problem
Tagged: missing file
- This topic has 8 replies, 3 voices, and was last updated 2 years, 6 months ago by
rkever.
-
AuthorPosts
-
July 14, 2022 at 1:56 pm #103358
tbettinazzi@axioma.it
ParticipantHi
I downloaded 14.2 release but in the distribution I didn’t find the smert.elements.js complete distribution file.
Is it a bug in the distribution ?
Tks
July 15, 2022 at 5:10 am #103359admin
KeymasterHi,
smart.elements.js is within the source/modules folder in the download package.
Best Regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/August 25, 2022 at 12:01 am #103527rkever
ParticipantI think there still may be some confusion or an error here as there are both “smart.element.js” and “smart.elements.js” (difference is the “s”) and in all your documents, your examples for loading all components to use “/source/smart.elements.js” and not “source/modules/smart.elements.js” which does not exists in the current npm package. “smart.elements.js” from what I can tell only exists in the git repo and not the npm package and exists at the root of the source folder and not in the modules. Can you please confirm if this is an issue? Thanks.
-
This reply was modified 2 years, 6 months ago by
rkever.
August 25, 2022 at 5:29 am #103529admin
KeymasterHi rkever,
All examples use the files from source/modules. We do not use source/smart.elements.js or source/smart.element.js in our demos. You can look at them here: https://www.htmlelements.com/demos/grid/overview/. You can download the software from https://www.htmlelements.com/download/ or from npm. The issue is that these are still in github and we will remove them from there as well. The files which should be used are within the source/modules. The styles which should be used are within the source/styles folder. If there is any place on our website where we use something else, we will need to update it.
Best Regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/-
This reply was modified 2 years, 6 months ago by
admin.
August 25, 2022 at 5:53 am #103531rkever
ParticipantI think there’s still a disconnect here as your demo docs do indeed call out minified js files at the root of source folder as does your main documentation for downloading and installing. May want to double check this. Not trying to be difficult by any means as I am a big advocate for your framework but my concern here is that when I send folk here, they can easily get confused with incorrect documentation or incorrect npm package structures.
The below screen shots were scraped from the download and install docs page at https://www.htmlelements.com/docs/download-and-installation/ and your demo page https://www.htmlelements.com/demos/framework/event-binding/ for the framework where it’s a single file that includes all components. Thanks.
-
This reply was modified 2 years, 6 months ago by
rkever.
August 25, 2022 at 5:58 am #103534admin
KeymasterThe documentation to get started with components is https://www.htmlelements.com/docs/grid/ and the Overview topics for any other component.
Thank you for mentioning places which we missed to update. We will remove these.
Best Regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/August 25, 2022 at 6:03 am #103535rkever
ParticipantAppreciate the update. However, still a little concerned as it seems you’re saying there will be no single file that includes all elements in the event you want all available at run time? I can see that file, the “smart.elements.js” file in the git repo at the source/ root folder. In your npm package, that folder only includes other folders. So are you eliminating your single file and then require us to manage all components individual files with DI on our own? I use the single file method for a CMS site that allows any content editors to use any component and I just take the hit during first load. I’m sure I could make my own file but it’s convenient and standard for libs to provide that already.
August 25, 2022 at 6:07 am #103538admin
KeymasterHi,
smart.elements.js will still exist in the source/modules folder. The github repo is updated now.
Best Regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/August 25, 2022 at 6:12 am #103539rkever
ParticipantAwesome sauce Pete and thanks! I’ll keep an eye out for that on npm too soon.
-
This reply was modified 2 years, 6 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.