【文件属性】:
文件名称:vue-frontend-shared:可以在前端实现中使用的共享代码
文件大小:22KB
文件格式:ZIP
更新时间:2021-02-16 01:43:07
TypeScript
Drenso前端共享
该软件包包含未编译的共享代码,可以在项目上使用。
当我们交付未编译的代码时,请确保配置Babel对其进行解析! 例如( includeNodeModules是此处的重要部分):
Encore .
// Polyfill and transpilation options
. configureBabel ( function ( babelConfig ) {
} , {
includeNodeModules : [ '@drenso/vue-frontend-shared' ] ,
useBuiltIns : 'usage' ,
corejs : 3 ,
} )
外挂程式
您可以通过将任何插件提供给Vue来使用它。 请注意,插件可能需要选项。
import { Plugins } from '
【文件预览】:
vue-frontend-shared-master
----.gitignore(63B)
----tsconfig.json(670B)
----.gitlab-ci.yml(2KB)
----.yarnrc(153B)
----.gitattributes(181B)
----package.json(2KB)
----tslint.json(577B)
----src()
--------shims-vue.d.ts(74B)
--------plugins.ts(579B)
--------index.ts(208B)
--------plugins()
----readme.md(2KB)