0
Prestashop 1.7で作業し、theme.ymlファイルを以下のように更新しましたが、ファイルに追加されません。ファイルはそのディレクトリにありますが、引き込まれていません。コードへの提案はありますか?私は、JSファイルを含めるようにしたいが、それはに引っ張られていません。Prestashop 1.7 JSファイルが追加されない
assets:
# If you're using this theme as child and you want to load
# the parent theme assets, uncomment this line.
# use_parent_assets: true
# The following lines are showing how to load assets in your page
# Uncomment and change value to start loading css or js files
css:
all:
- id: theme-custom
path: assets/css/custom.css
# product:
# - id: product-style
# path: assets/css/product.css
# media: all
# priority: 200
js:
all:
- id: slick
path: assets/js/external-lib.js
priority: 30
position: bottom
cart:
- id: theme-custom
path: assets/js/custom.js
ありがとう、私はtheme.ymlファイルの変更を行うたびにそれを行う必要がありますか? –
1.7.1で修正されたと報告されています。それまではそうだった。私は、キャッシュをアクティブにしないで、それを再作成しないことを確認することができますので、名前を削除/変更する必要はありません。 – sadlyblue