Replies: 2 comments
-
The base for all pages is set in the <head>
<base href="/themes/currently-active-theme/">
</head> Because of this to refrence files directly in To include a <script src="../../plugins/test-plugin/test.js"></script> |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank You! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Here is the folder structure of the test-plugin ( according to the plugin documentation )
[
test-plugin
Index.html
]
I have a test onclick function in index.html
I added to the top of index.html
<script src="/public/js/plugins.js" ></script>I noticed my script entry gets overwritten when I view the raw html.
What’s the best way to make reference to the JS files in the plugin from index.html?
Thank You again.
Beta Was this translation helpful? Give feedback.
All reactions