mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
add new webpack vue entrypoint for activity
+ rename existing activity.scss + rename webpack vue accompanyingCourse entrypoint
This commit is contained in:
parent
52ee8c5a9a
commit
968e6914b2
@ -1 +1 @@
|
|||||||
require('./activity/activity.scss');
|
require('./scss/chillactivity.scss');
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
// this file loads all assets from the Chill person bundle
|
// this file loads all assets from the Chill person bundle
|
||||||
module.exports = function(encore, entries) {
|
module.exports = function(encore, entries) {
|
||||||
entries.push(__dirname + '/Resources/public/index.js');
|
entries.push(__dirname + '/Resources/public/index.js');
|
||||||
|
|
||||||
|
encore.addAliases({
|
||||||
|
ChillActivityAssets: __dirname + '/Resources/public'
|
||||||
|
});
|
||||||
|
|
||||||
|
encore.addEntry('vue_activity', __dirname + '/Resources/public/vuejs/Activity/index.js');
|
||||||
};
|
};
|
||||||
|
@ -15,5 +15,5 @@
|
|||||||
window.accompanyingCourseId = {{ accompanyingCourse.id|e('js') }};
|
window.accompanyingCourseId = {{ accompanyingCourse.id|e('js') }};
|
||||||
window.vueRootComponent = 'app';
|
window.vueRootComponent = 'app';
|
||||||
</script>
|
</script>
|
||||||
{{ encore_entry_script_tags('accompanying_course') }}
|
{{ encore_entry_script_tags('vue_accourse') }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block css %}
|
{% block css %}
|
||||||
{{ encore_entry_link_tags('accompanying_course') }}
|
{{ encore_entry_link_tags('vue_accourse') }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block js %}
|
{% block js %}
|
||||||
@ -24,5 +24,5 @@
|
|||||||
window.accompanyingCourseId = {{ accompanyingCourse.id|e('js') }};
|
window.accompanyingCourseId = {{ accompanyingCourse.id|e('js') }};
|
||||||
window.vueRootComponent = 'banner';
|
window.vueRootComponent = 'banner';
|
||||||
</script>
|
</script>
|
||||||
{{ encore_entry_script_tags('accompanying_course') }}
|
{{ encore_entry_script_tags('vue_accourse') }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -8,5 +8,5 @@ module.exports = function(encore, entries)
|
|||||||
ChillPersonAssets: __dirname + '/Resources/public'
|
ChillPersonAssets: __dirname + '/Resources/public'
|
||||||
});
|
});
|
||||||
|
|
||||||
encore.addEntry('accompanying_course', __dirname + '/Resources/public/vuejs/AccompanyingCourse/index.js');
|
encore.addEntry('vue_accourse', __dirname + '/Resources/public/vuejs/AccompanyingCourse/index.js');
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user