Skip to content
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

added a main file for easier module importing #89

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

KhaledElAnsari
Copy link

@KhaledElAnsari KhaledElAnsari commented Jun 4, 2017

This will make it easier to import the module in project

so instead of

require("semantic-ui-calendar/dist/calendar.js");

it will be

require("semantic-ui-calendar");

though importing CSS will be the same, devs need to write the full relative path

@import "semantic-ui-calendar/dist/calendar.css";

@KhaledElAnsari
Copy link
Author

And I updated the npm version in the package.json so it's ready for publishing

@jung-hunsoo
Copy link

Simple but good PR, I think.

@KhaledElAnsari
Copy link
Author

I hope it get merged to help others

@tchapi
Copy link

tchapi commented Jun 28, 2018

Any chance this could be merged and published ? This is a quick win

@KhaledElAnsari
Copy link
Author

@mdehoog can you please merge it and publish it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants