mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 02:14:01 +00:00
SceneShotList and SceneOptions render the project from a gev-scenes store instead of scenePresentation building rows with createElement. SceneControls stays the owner: it publishes the director's state and attaches the row actions, and a late destroy cannot detach a newer owner. Rows keep their identity across selection; a rename keeps its typed text across republishing and ends with its row. The select still changes its choice only when its options are rendered. Vue keeps whitespace in every component, so Prettier formats single-file components with strict whitespace sensitivity, and the test loader parses templates with the same options as the browser build. The i18n check reads view text without its interpolations, whose t() calls are scanned with the sources.
17 lines
684 B
JavaScript
17 lines
684 B
JavaScript
/**
|
|
* Template options shared by the browser build, the boundary check and the
|
|
* unit-test loader. Whitespace between nodes is kept (as a single space) so
|
|
* an application view renders as its static markup did; Prettier formats
|
|
* single-file components with strict whitespace sensitivity to match. Asset
|
|
* URLs such as `/pin.svg` stay literal instead of becoming module imports.
|
|
*/
|
|
export const VUE_TEMPLATE_OPTIONS = Object.freeze({
|
|
compilerOptions: Object.freeze({ whitespace: 'preserve' }),
|
|
transformAssetUrls: false,
|
|
});
|
|
|
|
/** `@vitejs/plugin-vue` options for application builds. */
|
|
export const VUE_PLUGIN_OPTIONS = Object.freeze({
|
|
template: VUE_TEMPLATE_OPTIONS,
|
|
});
|