Comments (6)
under the /lib directory
#384
from meteor-admin.
i couldnt see this updated today in the readme doc. quite useful info for someone just getting started...
from meteor-admin.
inadequate documentation is generally an with software issue. why come to the issue queue to answer basic config questions?
from meteor-admin.
why waste peoples valuable time with poorly documented software? based on the arrogant response and combined poor documentation i'm not going to bother testing this software further. what if i hit a more complex problem? more of the same? no thanks...
from meteor-admin.
@laurencefass I fully understand your disappointment, i also faced the same problem and i have now a bad feeling to this project.
Did you find any alternative way to implement a meteor admin frontend ?
from meteor-admin.
option 1
from @Fotso #384 (comment)
create a lib directory at root of your project and create a file AdminConfig.js
with
AdminConfig =
{
adminEmails: ['[email protected]'],
collections:
{
Posts: {}
}
};
inside.
option 2
From #77 (comment) :
in main/server.js : global.AdminConfig = AdminConfig;
in main /client.js : window.AdminConfig = AdminConfig;
And AdminConfig
can be defined in a shared/config.js
:
export const AdminConfig =
{
adminEmails: ['[email protected]'],
collections:
{
Posts: {}
}
};
and imported like so (in main.js server and client) : import { AdminConfig } from '/shared/config.js';
Note : I used server, client and shared folders because it is the structure of my app but it can be done differently (using Meteor.isClient()...).
from meteor-admin.
Related Issues (20)
- Meteor 1.4.1.1 - All users page not show users. HOT 1
- No data displayed HOT 1
- Create separate pages for users collection depending on user roles
- Custom menu item title. HOT 1
- Error when running the project - Leading decorators must be attached to a class declaration! HOT 2
- Howto remove "id" field from "new" form? HOT 3
- How can I add Columns to Tables
- Work with generator-angular-meteor ?
- Determine admin by role
- Change default table length from 10 to 100? HOT 1
- Admin Config... Example not Clear HOT 1
- Role and Permission
- Is this package being maintained HOT 6
- Conflicts with aldeed:collection2-core HOT 2
- How to add 'sub-admin' to custom user groups?
- Remove New
- How to listen the submit event?
- Oops, looks like there's no route on the client or the server for url: "http://localhost:3000/."
- Breaks on Meteor 1.8.1 HOT 2
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 meteor-admin.