MeteorJS
Pages Admin now officially supports runs on MeteorJS 1.1.6 and below, we have took the time integrate all Pages demo components and widgets to a MeteorJS.
Dependencies Required to be installed from Atmosphere
- less
- jquery
- twbs:bootstrap
- cwaring:modernizr
- revox:pages-core
- gromo:jquery.scrollbar
- fortawesome:fontawesome
- meteorhacks:flow-router
- meteorhacks:flow-layout
- zimme:active-route
- momentjs:moment
Quick Start
Step one
Download sample .meteor project that we have created for you Download Package
Step two
Unzip the file and you will find something called ".meteor"
Step three
Copy that folder over to pages-admin/getting_started/meteor
Final step
Thats it! now navigate to your folder pages-admin/getting_started/meteor
and run
meteor
The folder structure that we have prepared for you is also recommended by meteorJS team
Best Practices
- Only images and fonts go into the public folder in
public/assets/*
and are available in the browser everywhere as e. g.('/assets/img/logo.jpg')
- All styling that applies to the whole side goes to
client/stylesheets/*
- 3rd party libraries that require a global scope go into
client/compatibility
. Load order is still a problem (rename files), so it is best to add 3rd party libraries as atmosphere packages - All the html and page / component specific css/lss goes into the
views/
folder - A leading underscore
_
means that the component is not stand-alone and part of something - The
_shared
folder holds components that are shared with multiple views (e.g. the sidebar is used on all pages)