056c47581f
Ships the second dashboard surface — a Pattern Library + Preview Theatre — that presents the 4-section PDP pilot batch back to Umar, compliance, and the board in an editorial format. Adds the full data layer that drives it: 5 source-backed per-SKU drafts at QA 100/100, 15 competitor PDP semantic extracts, PubMed evidence packs, EFSA claims library extension, JV brand voice guide, hand-curated product FAQs, and the Matrixify-ready CSV exports for Lewis. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
25 lines
912 B
JavaScript
25 lines
912 B
JavaScript
import { createApp } from 'vue'
|
|
import { createRouter, createWebHashHistory } from 'vue-router'
|
|
import App from './App.vue'
|
|
|
|
import './styles/base.css'
|
|
|
|
import PatternLibrary from './views/PatternLibrary.vue'
|
|
import PreviewTheatre from './views/PreviewTheatre.vue'
|
|
|
|
const routes = [
|
|
{ path: '/', redirect: '/patterns' },
|
|
{ path: '/patterns', name: 'patterns', component: PatternLibrary, meta: { title: 'Pattern Library' } },
|
|
{ path: '/patterns/:section', name: 'patterns-section', component: PatternLibrary, meta: { title: 'Pattern Library' } },
|
|
{ path: '/preview', redirect: '/preview/JV-D1000' },
|
|
{ path: '/preview/:sku', name: 'preview', component: PreviewTheatre, meta: { title: 'Preview Theatre' } }
|
|
]
|
|
|
|
const router = createRouter({
|
|
history: createWebHashHistory('/editorial/'),
|
|
routes,
|
|
scrollBehavior: () => ({ top: 0 })
|
|
})
|
|
|
|
createApp(App).use(router).mount('#app')
|