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

Many issues with the JavaScript files in Meteor #6

Closed
athmangude opened this issue Mar 26, 2015 · 3 comments
Closed

Many issues with the JavaScript files in Meteor #6

athmangude opened this issue Mar 26, 2015 · 3 comments
Labels

Comments

@athmangude
Copy link

I really like this project and I would have a little fun with it in Meteor and Cordova. I tried checking out the templates from a PHP server and everything works fine. However, when I put them in a Meteor they don't seem to look and behave as they should. Is there something I am not doing right? Is it Meteor or there are known issues with meter.

Here's my app structure:

├── application_layout_minimal.html
├── client
│   ├── css
│   │   └── base.min.css
│   ├── lib
│   │   └── material
│   │       ├── base.js
│   │       ├── html5shiv.js
│   │       └── respond.js
│   └── templates
│       ├── application
│       │   └── application_layout_minimal.html
│       ├── authentication
│       └── home
├── index.html
├── lib
│   ├── collections
│   └── router.js
├── page-404.html
├── page-affix-full.html
├── page-affix.html
├── public
│   ├── css
│   │   └── fonts
│   │       ├── FontAwesome.otf
│   │       ├── fontawesome-webfont.eot
│   │       ├── fontawesome-webfont.svg
│   │       ├── fontawesome-webfont.ttf
│   │       ├── fontawesome-webfont.woff
│   │       ├── fontawesome-webfont.woff2
│   │       ├── MaterialDesignIcon.eot
│   │       ├── MaterialDesignIcon.svg
│   │       ├── MaterialDesignIcon.ttf
│   │       └── MaterialDesignIcon.woff
│   └── images
│       ├── samples
│       │   ├── landscape.jpg
│       │   └── portrait.jpg
│       ├── screenshots
│       │   ├── material01.png
│       │   ├── material02.png
│       │   └── material03.png
│       └── users
│           └── avatar-001.jpg
└── server
@sesemaya
Copy link
Contributor

@athmangude

i doubt this is an issue with the material js because the templates work just fine: http://daemonite.github.io/material/

more like an issue either with meteor or with your particular setup. you may check the console and see what the problems are.

@modius
Copy link
Member

modius commented Mar 30, 2015

h/t http://labs.daemon.com.au/t/material-html5-ui-design-based-on-google-material/19/7

I managed to get it working. Referencing the files wasn't the issue since Meteor picks stylesheet and JavaScript files automatically. Even though I still get the error message on the console, I removed base.js and added the individual files in src folder to client/lib/material on my app and everything worked fine. @athmangude

@athmangude
Copy link
Author

@modius That was me thinking I had fixed the issue but no. I only managed to get the side navs working but the material form elements, date picker, and many of the things that make this project awesome are still not working in Meteor

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

No branches or pull requests

3 participants