yeoman / generator-webapp_DEPRECATED

Yeoman generator that scaffolds out a front-end web app
http://yeoman.io
974 stars 310 forks source link

File path to reference folders outside of "app" folder isn't working? #608

Closed vennsoh closed 9 years ago

vennsoh commented 9 years ago

All my HTML/CSS/JS are within the "app" folder.

I am trying to access a folder that is outside of that. But the file path is not working? It will only work if I place my assets within the "app" folder.

Here I attach an image. Working on Framer.js + Yeoman how

Any idea what the file path should be? I have tried all possible combinations.

Looking at this line: myLayers = Framer.Importer.load("./../../imported/test1")

silvenon commented 9 years ago

See https://github.com/yeoman/generator-gulp-webapp/issues/390#issuecomment-142867937.

eddiemonge commented 9 years ago

This is correct. The /app folder is your sites files. It can't access things outside of that, just like any other web site can't.