Giter VIP home page Giter VIP logo

Comments (6)

Fotso avatar Fotso commented on August 20, 2024

under the /lib directory
#384

from meteor-admin.

laurencefass avatar laurencefass commented on August 20, 2024

i couldnt see this updated today in the readme doc. quite useful info for someone just getting started...

from meteor-admin.

laurencefass avatar laurencefass commented on August 20, 2024

inadequate documentation is generally an with software issue. why come to the issue queue to answer basic config questions?

from meteor-admin.

laurencefass avatar laurencefass commented on August 20, 2024

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.

reda134 avatar reda134 commented on August 20, 2024

@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.

capi1O avatar capi1O commented on August 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.