mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-28 09:43:02 +02:00
refactor(ts): import script using new Hugo Module logic (#77)
Allows user to overwrite a specific script. Note: The required version of Hugo might bump up.
This commit is contained in:
parent
33685fb878
commit
54571f036b
2 changed files with 14 additions and 4 deletions
10
assets/jsconfig.json
Normal file
10
assets/jsconfig.json
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"baseUrl": ".",
|
||||||
|
"paths": {
|
||||||
|
"*": [
|
||||||
|
"*"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
|
@ -6,10 +6,10 @@
|
||||||
* @link: https://github.com/CaiJimmy/hugo-theme-stack
|
* @link: https://github.com/CaiJimmy/hugo-theme-stack
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { createGallery } from "./gallery"
|
import { createGallery } from "ts/gallery"
|
||||||
import { getColor } from './color';
|
import { getColor } from 'ts/color';
|
||||||
import menu from './menu';
|
import menu from 'ts/menu';
|
||||||
import createElement from './createElement';
|
import createElement from 'ts/createElement';
|
||||||
|
|
||||||
let Stack = {
|
let Stack = {
|
||||||
init: () => {
|
init: () => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue