mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 10:24:02 +00:00
Templates listed in build/applicationViews.js expand to mount hosts, and mountApplicationViews() renders them before translation and wiring. Markup tests read the page through a server-side render helper, the i18n scanner reads view templates, and Vue preserves whitespace so views keep the exact DOM. No template is converted yet.
12 lines
492 B
JavaScript
12 lines
492 B
JavaScript
/**
|
|
* Template compiler options shared by the browser build, the boundary check
|
|
* and the unit-test loader. Whitespace is preserved so a view renders exactly
|
|
* the DOM its static markup did: inline layouts depend on text between nodes.
|
|
*/
|
|
export const VUE_COMPILER_OPTIONS = Object.freeze({ whitespace: 'preserve' });
|
|
|
|
/** `@vitejs/plugin-vue` options for application builds. */
|
|
export const VUE_PLUGIN_OPTIONS = Object.freeze({
|
|
template: { compilerOptions: VUE_COMPILER_OPTIONS },
|
|
});
|