Thanks for answering for my humble question
On 6월10일, 오전11시57분, Nandan Bagchee <[email protected]> wrote:
> > > I am Newbie on Weblocks and I have question to add my own
> > > resources(scripts,css) to my Weblocks-app
>
> Here is an example of adding css and script files. They will reside in
> APP/pub/stylesheets and APP/pub/scripts .. (navigation.css and style.css)
In case of adding my own script to "example application" ,
superman.js is the script to be added
and I place "superman.js" to APP/pub/scripts
>
> (defwebapp resty-weblocgks
> :prefix "/"
> :description "resty-weblocgks: An example application"
> :init-user-session 'resty-weblocgks::init-user-session
> :public-files-path *our-public-files-path*
> :autostart t
> :dependencies '((:stylesheet "navigation")
> (:stylesheet "style"))
> :ignore-default-dependencies nil)
>
(defwebapp resty-weblocgks
:prefix "/"
:description "resty-weblocgks: An example application"
:init-user-session 'resty-weblocgks::init-user-session
:public-files-path "/PATH/APP/pub/"
:autostart t
:dependencies '((:script "superman"))
:ignore-default-dependencies nil)
I change example code like this?
and How do I bundle "superman.js" file automatically? (moving "vzn" ,
versioning and gzip automatically)
> > > and so curious for bundling resources .. where can I find any tutorial
> > > for bundling resources?
>
> The best place for this in weblocks is the code.
>
> Otherwise, googling yields
>
> http://developer.yahoo.com/performance/rules.html
>
> and
>
> http://rakaz.nl/2006/12/make-your-pages-load-faster-by-combining-and-...
>
> and there's some SO discussion at
>
> http://stackoverflow.com/questions/490618/multiple-javascript-css-fil...
--
You received this message because you are subscribed to the Google Groups
"weblocks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/weblocks?hl=en.