Skip to content

Commit

Permalink
fix(vue): fix vue proxies
Browse files Browse the repository at this point in the history
  • Loading branch information
Sukaato committed Dec 10, 2024
1 parent d3bb3da commit 9c1b72d
Show file tree
Hide file tree
Showing 5 changed files with 556 additions and 370 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions packages/core/stencil.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,12 @@ export const config: Config = {
includeGlobalScripts: false,
},
vueOutputTarget({
componentCorePackage: componentCorePackage,
proxiesFile: '../vue/src/proxies.ts',
includeImportCustomElements: true,
includeDefineCustomElements: false,
includePolyfills: false,
includeDefineCustomElements: false,
componentCorePackage: componentCorePackage,
hydrateModule: `${componentCorePackage}/hydrate`,
proxiesFile: '../vue/src/proxies.ts',
componentModels: <VueComponentModel[]>[
{
elements: ['pop-checkbox', 'pop-toggle'],
Expand Down
11 changes: 6 additions & 5 deletions packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,18 @@
"build:web-types": "node --experimental-json-modules ./scripts/build-web-types.js",
"copy:css": "node ./scripts/copy-css.js"
},
"dependencies": {
"@poppy-ui/core": "^0.3.4",
"@stencil/vue-output-target": "^0.9.0"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@poppy-ui/docs": "^0.3.4",
"@rollup/plugin-typescript": "^12.1.1",
"change-case": "^5.4.4",
"rimraf": "^6.0.1",
"rollup": "^4.27.3",
"typescript": "^5.6.2",
"typescript": "^5.7.2",
"vite": "^5.4.11",
"vue": "3.5.11"
},
Expand All @@ -61,8 +65,5 @@
"web-types": "dist/web-types.json",
"sideEffects": [
"css/*.css"
],
"dependencies": {
"@poppy-ui/core": "^0.3.4"
}
]
}
Loading

0 comments on commit 9c1b72d

Please sign in to comment.