-
Notifications
You must be signed in to change notification settings - Fork 261
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
Where am I supposed to put AdminConfig? #370
Comments
I think you can put it anywhere. I put it in the root folder of my project. |
Under |
Create a file "admin_config.js" inside the lib directory, put this inside: |
Personally I don't have a lib directory - but I followed the documentations. If you have a similar folder structure like mine, then you can put it in '/imports/startup/client/index.js' (routes.js in the same directory works too?). The only question I have is that I didn't need to import anything to get it to work, yet I still get a warning saying that AdminConfig is not defined. What is the proper import definition? |
I've been searching for the answer to this for literally 3 hours, I just want to complete the initial admin login but I have no clue where to put
AdminConfig = { collections: { Posts: {} } };
Shouldn't this be part of the documentation?
The text was updated successfully, but these errors were encountered: