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

Easy way to add more JS or SCSS files #18

Closed
DESIGNfromWITHIN opened this issue Feb 12, 2019 · 1 comment
Closed

Easy way to add more JS or SCSS files #18

DESIGNfromWITHIN opened this issue Feb 12, 2019 · 1 comment

Comments

@DESIGNfromWITHIN
Copy link

Is there a way to add more JS files?
Would I need to edit a config file to addmore JS files and set the order?

@ericalli
Copy link
Owner

No config file changes are necessary. Simply "import" your SCSS or JavaScript files from the main styles.scss or scripts.js files respectively.

For example, within the styles.scss file, you can add another stylesheet called example.scss by using the following line of code:

@import "example.scss"

References:

https://sass-lang.com/guide#topic-5
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import

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

No branches or pull requests

2 participants