Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

styles not applying #3

Open
postite opened this issue Oct 24, 2013 · 5 comments
Open

styles not applying #3

postite opened this issue Oct 24, 2013 · 5 comments

Comments

@postite
Copy link

postite commented Oct 24, 2013

hello ..
i decided to give prime a try but didin't get to run this example correcttly.
i got it compilling but all StyleSheets arent' applied.

any tip ?
thx

@ezeql
Copy link
Contributor

ezeql commented Oct 24, 2013

Hello postite, could you please paste your hxml file here?

@postite
Copy link
Author

postite commented Oct 24, 2013

sure !

-cp src
-cp test
-cp res/i18n
-cp styles
-lib prime-bindable
-lib prime-components
-lib prime-core
-lib prime-css
-lib prime-data
-lib prime-display
-lib prime-fsm
-lib prime-layout
-lib prime-media

-lib prime-mvc
-lib prime-signals
-lib feffects
-swf bin/todoapp.swf
-swf-header 800:600:30:FFFFFF
--flash-strict
-swf-version 10.2
-D verbose
-D dragEnabled
-D prime_css
-main Main
--macro PrimeCSS.buildstyles()
-cp styles

please note also i had to hard write the path to node
in primeCSS.h to make it compile
line 170 var p = new Process('/usr/local/bin/node', [parserBin, projectDir, primeCSSPath + "//" ] );

here is what i get :
capture decran 2013-10-25 a 00 55 37

thx

@postite
Copy link
Author

postite commented Oct 25, 2013

found it !

-cp src
-cp test
-cp res/i18n
-cp styles ///this one is before -lib prime-css removing or placing after -lib prime-css does the trick
-lib prime-bindable
-lib prime-components
-lib prime-core
-lib prime-css
-lib prime-data
-lib prime-display
-lib prime-fsm
-lib prime-layout
-lib prime-media

-lib prime-mvc
-lib prime-signals
-lib feffects
-swf bin/todoapp.swf
-swf-header 800:600:30:FFFFFF
--flash-strict
-swf-version 10.2
-D verbose
-D dragEnabled
-D prime_css
-main Main
--macro PrimeCSS.buildstyles()

could you update the example ?

@ezeql
Copy link
Contributor

ezeql commented Oct 25, 2013

Please check https://github.com/touch/Prime-todo/blob/master/todoapp.hxml
-cp styles is the very last line.

@postite
Copy link
Author

postite commented Oct 25, 2013

@ezeql nope it is also on the fourth line :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants