Jump to content

.js in a custom theme (1.7)


Recommended Posts

Greetings,I'm developing a theme and cannot make my slider work. (works perfectly on html). Cannot import the js files:

 

post-1430990-0-65104300-1502937076_thumb.png

 

Custom function on js works perfectly if I add it to theme.js, but if copy-paste the content of "slick.js", webpack gives an error 

 

post-1430990-0-34915900-1502937074_thumb.png

post-1430990-0-03731800-1502937076_thumb.png

 

I tried to include the file copying in assets/js folder, and adding it on theme.yml, without success. 

 

post-1430990-0-24547400-1502937077_thumb.png

 

Thanks in advance who anyone could help me.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...