mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Docs: Assets are not shared between packages
[stubailo: edits]
This commit is contained in:
committed by
Sashko Stubailo
parent
68322dab30
commit
67270eecb3
@@ -17,4 +17,5 @@ code can read `data.txt` by running:
|
||||
|
||||
var data = Assets.getText('nested/data.txt');
|
||||
|
||||
{{/template}}
|
||||
Note: Packages can only access their own assets. If you need to read the assets of a different package, or of the enclosing app, you need to get a reference to that package's `Assets` object.
|
||||
{{/template}}
|
||||
|
||||
Reference in New Issue
Block a user