Hi!
Library assets placed in dist directory of package.
This is very important when when using npm-asset composer setup to automate libraries setup.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | charts_library_path_3_interdiff.txt | 622 bytes | 5n00py |
| #3 | charts_library_path_3.patch | 709 bytes | 5n00py |
| charts_library_path.patch | 890 bytes | 5n00py |
Comments
Comment #2
andileco commentedThanks--I'll work on getting this tested/implemented soon. This submodule still has a lot of work, so any patches are greatly appreciated!
Comment #3
5n00py commentedAlso I found that declared files does not exists in dist dir:
Comment #4
andileco commentedHey @5n00py, when I install with composer (according to the README.txt file inside the sub-module), it puts the file in /libraries/chartjs. Can you think of any way that both techniques for installing will work? Does my question make sense?
Comment #5
5n00py commented@andileco Your question make sense, yes.
As I see, this Readme file should be rewritten. Method described in readme shows how to install just one js file of specific version of library, downloaded directly from chartjs.org.
This is not preferred solution. Match better to download it from bower/npm.
In composer.json of sub-module we have asset-packegist repo and bower dependency from this repo. This method is much better.
Off course installer paths should be configured in main composer.json like this:
Comment #7
andileco commentedUpdated documentation and removed libraries.