Comments (13)
where is your index.php
and the .assetkit.php
?
from assetkit.
are they all in the static directory?
from assetkit.
can you show my your directory structure?
from assetkit.
I put my test project in the following repo.
https://github.com/iambigd/AssetTookit_Test
from assetkit.
Hi I didn't see your .assetkit.php file? which should also be in the repo.
On Jul 10, 2013, at 10:46 AM, Wei Chih Tsai [email protected] wrote:
I put my test project in the following repo.
https://github.com/iambigd/AssetTookit_Test—
Reply to this email directly or view it on GitHub.
from assetkit.
And if you don't use resource, you should comment it out:
https://github.com/iambigd/AssetTookit_Test/blob/master/assets/iangel/manifest.yml
On Jul 10, 2013, at 10:49 AM, Lin Yo-an [email protected] wrote:
Hi I didn't see your .assetkit.php file? which should also be in the repo.
On Jul 10, 2013, at 10:46 AM, Wei Chih Tsai [email protected] wrote:
I put my test project in the following repo.
https://github.com/iambigd/AssetTookit_Test—
Reply to this email directly or view it on GitHub.
from assetkit.
//invalid asset link
http://static.iangel.tw/assets/compiled/bigd-asset-739a338a78b772d53417ac68e5ddd316.min.js
//valid
http://static.iangel.tw/public/assets/compiled/bigd-asset-739a338a78b772d53417ac68e5ddd316.min.js
from assetkit.
You should move your index.php to public/, and access the page from there, since you use /assets for baseURL, not /public/assets
your APPLICATION_ROOT should contains "public", "assets", "src" … directories.
On Jul 10, 2013, at 10:50 AM, Lin Yo-an [email protected] wrote:
And if you don't use resource, you should comment it out:
https://github.com/iambigd/AssetTookit_Test/blob/master/assets/iangel/manifest.yml
On Jul 10, 2013, at 10:49 AM, Lin Yo-an [email protected] wrote:
Hi I didn't see your .assetkit.php file? which should also be in the repo.
On Jul 10, 2013, at 10:46 AM, Wei Chih Tsai [email protected] wrote:
I put my test project in the following repo.
https://github.com/iambigd/AssetTookit_Test—
Reply to this email directly or view it on GitHub.
from assetkit.
The application root is not the public directory.
the "public" directory is the DocumentRoot for Apache.
the "assets" is the asset source
the "public/assets" is what we will need from Web (Apache)
On Jul 10, 2013, at 10:53 AM, Lin Yo-an [email protected] wrote:
You should move your index.php to public/, and access the page from there, since you use /assets for baseURL, not /public/assets
your APPLICATION_ROOT should contains "public", "assets", "src" … directories.
On Jul 10, 2013, at 10:50 AM, Lin Yo-an [email protected] wrote:
And if you don't use resource, you should comment it out:
https://github.com/iambigd/AssetTookit_Test/blob/master/assets/iangel/manifest.yml
On Jul 10, 2013, at 10:49 AM, Lin Yo-an [email protected] wrote:
Hi I didn't see your .assetkit.php file? which should also be in the repo.
On Jul 10, 2013, at 10:46 AM, Wei Chih Tsai [email protected] wrote:
I put my test project in the following repo.
https://github.com/iambigd/AssetTookit_Test—
Reply to this email directly or view it on GitHub.
from assetkit.
I modify baseURL from /assets to /public/assets. It can work now.
So, baseURL value must based on index.php location ???
from assetkit.
baseUrl is the path which based on the DocumentRoot you setup in Apache.
On Jul 10, 2013, at 11:15 AM, Wei Chih Tsai [email protected] wrote:
I modify baseURL from /assets to /public/assets. It can work now.
So, baseURL value must based on index.php location ???—
Reply to this email directly or view it on GitHub.
from assetkit.
OK. Very Thanks.
from assetkit.
Please reopen this if the problem occurs again.
from assetkit.
Related Issues (19)
- Support asset dependency detection during compilation
- Asset name conflict detection
- Include specific asset collection by ID HOT 1
- Support specific compile option for each separated asset
- Support "watch" command HOT 2
- Support asset collection concatenation HOT 1
- chmod for manifest.php files
- avoid compiling manifest.php in runtime
- redesign asset class for php7
- support webpack2, webpack3
- Cache compilation result in target.meta HOT 2
- Save target entry in asset entry cluster or config HOT 2
- Support compilation lock HOT 1
- FileCollection should use filetype member instead of is* members. HOT 1
- Cache collected file collection objects HOT 1
- Add import command to import assets from a list of file
- Clean command should clean up compiled files HOT 1
- Build asset meta from directory structure automatically HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from assetkit.