Skip to content

How can I add different profiles? Where to add? #10

@vivian0239

Description

@vivian0239

Hi, I don't know how to add different profiles, could someone tell me how to do that?
I didn't find any example.
Below is a wrong sample, but that's what I want to do.

{
	module: 'MMM-ProfileSwitcher',
	config: {
		// See 'Configuration options' for more information.
		{
			module: 'example_module',
			// Set your classes here separated by a space.
			// Shown for all profiles and for the default profile
			classes: 'default everyone'
		},
		{
			module: 'example_module2',
			// Only shown for me
			classes: 'Brian'
		}
	}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions