scorpiusjs / scorpius

Modular admin solution built with Meteor
http://scorpiusjs.org
MIT License
34 stars 7 forks source link

Does scorpiusjs:bootstrap load only in admin or in the whole site? #13

Closed krishaamer closed 7 years ago

krishaamer commented 8 years ago

If it's still loading in the whole site like in Orion, would make sense to limit it to admin only so one could use Semantic:UI, any other UI package or even no package at all.

Thanks, Kris

rwatts3 commented 8 years ago

Hi Kris.

Add the admin only package for bootstap along side the bootstrap package and it will stay in admin.

You have to add both because the template declaration is currently written in the bootstrap package and is replaced with the admin only version in the admin only package. This will be updated in the future to always assume admin only. And let the user determine the framework.

On Thu, Sep 1, 2016, 2:58 AM Kris Haamer notifications@github.com wrote:

If it's still loading in the whole site like in Orion, would make sense to limit it to admin only so one could use Semantic:UI, any other UI package or even no package at all.

Thanks, Kris

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/scorpiusjs/scorpius/issues/13, or mute the thread https://github.com/notifications/unsubscribe-auth/AFFsSWkO4LLsykuCtltUP2_tcZGmFFxaks5qlqG1gaJpZM4JyhCc .

krishaamer commented 8 years ago

Hi Ryan, when you say "admin only package for bootstap" do you mean "nicolaslopezj:orion-admin-only-bootstrap" ?

I started with a fresh scorpius project w/o the compatibility package (which didn't work for me). So now when I try adding nicolaslopezj:orion-admin-only-bootstrap it also loads orion packages which crash the site with

"Error: A field called name already exists! W20160901-13:22:47.645(3)? (STDERR) at [object Object].AT.addField (packages/useraccounts_core/lib/core.js:405:1).

rwatts3 commented 8 years ago

That package was ported to scorpius core and reworked a little.

On Thu, Sep 1, 2016, 3:23 AM Kris Haamer notifications@github.com wrote:

Hi Ryan, when you say "admin only package for bootstap" do you mean "nicolaslopezj:orion-admin-only-bootstrap" ?

I started with a fresh scorpius project w/o the compatibility package (which didn't work for me). So now when I try adding nicolaslopezj:orion-admin-only-bootstrap it also loads orion packages which crash the site with

"Error: A field called name already exists! W20160901-13:22:47.645(3)? (STDERR) at [object Object].AT.addField (packages/useraccounts_core/lib/core.js:405:1).

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/scorpiusjs/scorpius/issues/13#issuecomment-244038566, or mute the thread https://github.com/notifications/unsubscribe-auth/AFFsSd6qJnnYGcL6Cao9muY4F61AHzmUks5qlqetgaJpZM4JyhCc .

rwatts3 commented 8 years ago

Let me know how things go.

krishaamer commented 8 years ago

I ended up using the scorpiusjs:materialize-admin-only package instead.

rwatts3 commented 7 years ago

Awesome !.