npm-template-vue2
v1.0.0
Published
这是一个可用于发布npm包的Vue2组件开发工作空间模板。This is a Vue2 component development workspace template that can be used to publish npm packages.
Downloads
1
Maintainers
Readme
npm-template-vue2
这不是一个可用的 npm 包,这是一个与 npm 包开发相关的 git 仓库,只是在 npmjs 上进行展示。
这是一个可用于发布 npm 包的 Vue2 组件开发工作空间模板。
This is not an available npm package, this is a git repository related to npm package development and is just demonstrated on npmjs.
This is a Vue2 component development workspace template that can be used to publish npm packages.
Introduction
If you need to quickly build a vue2 component development workspace that can be published to npm, you can use the workspace template provided by npm-template-vue2.
Usage
$ cd [your empty project folder path]
$ git clone [email protected]:SuperYesifang/npm-template-vue2.git .
$ rm -rf .git
And then
You just need to replace all the npm-template-vue2 in the project with your component name to start your component development.
or
If your linux or macos, you can also use the sed
orperl
command to complete the replacement.
default Dependences
{
"dependencies": {
"@babel/runtime": "^7.15.4",
"vue": "^2.5.11"
},
"devDependencies": {
"babel-plugin-transform-runtime": "^6.23.0",
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-preset-env": "^1.6.0",
"babel-preset-stage-3": "^6.24.1",
"cross-env": "^5.0.5",
"css-loader": "^0.28.7",
"file-loader": "^1.1.4",
"vue-loader": "^13.0.5",
"vue-template-compiler": "^2.4.4",
"webpack": "^3.6.0",
"webpack-dev-server": "^2.9.1"
}
}