Tagged: 

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #103358

    Hi

    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

     

    #103359
    admin
    Keymaster

    Hi,

    smart.elements.js is within the source/modules folder in the download package.

    Best Regards,
    Peter Stoev

    Smart UI Team
    https://www.htmlelements.com/

    #103527
    rkever
    Participant

    I 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.

    git repo screen cap

    • This reply was modified 2 years, 1 month ago by rkever.
    #103529
    admin
    Keymaster

    Hi 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 Stoev

    Smart UI Team
    https://www.htmlelements.com/

    • This reply was modified 2 years, 1 month ago by admin.
    #103531
    rkever
    Participant

    I 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, 1 month ago by rkever.
    #103534
    admin
    Keymaster

    The 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 Stoev

    Smart UI Team
    https://www.htmlelements.com/

    #103535
    rkever
    Participant

    Appreciate 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.

    • This reply was modified 2 years, 1 month ago by rkever.
    • This reply was modified 2 years, 1 month ago by rkever.
    #103538
    admin
    Keymaster

    Hi,

    smart.elements.js will still exist in the source/modules folder. The github repo is updated now.

    Best Regards,
    Peter Stoev

    Smart UI Team
    https://www.htmlelements.com/

    #103539
    rkever
    Participant

    Awesome sauce Pete and thanks!  I’ll keep an eye out for that on npm too soon.

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.