Socket
Socket
Sign inDemoInstall

generator-kscpm

Package Overview
Dependencies
591
Maintainers
3
Versions
62
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.20 to 2.1.21

1

generators/vue:component/templates/_vue.js
export default {
name: "<%=componentName%>",
data() {

@@ -4,0 +3,0 @@ return {};

27

generators/vue:page/templates/_vue.js

@@ -1,18 +0,13 @@

export default {
name: "<%=pageName%>",
data() {
return {};
},
computed: {
},
//Vue 实例挂载后调用
mounted() {
},
//Vue 实例销毁后调用
destroyed() {
},
methods: {},
components: {}
data() {
return {};
},
computed: {},
created() {},
//Vue 实例挂载后调用
mounted() {},
//Vue 实例销毁后调用
destroyed() {},
methods: {},
components: {}
};
export default {
name: "HelloWorld",
data() {

@@ -7,3 +6,5 @@ return {

};
}
},
computed: {},
methods: {}
};

@@ -5,6 +5,7 @@ //<%if(vuex){%>vuex

export default {
name: "App",
data() {
return {};
},
created() {
},
//Vue 实例挂载后调用

@@ -11,0 +12,0 @@ mounted() {

@@ -11,2 +11,4 @@ import HelloWorld from "~/components/HelloWorld";

},
created() {
},
//Vue 实例挂载后调用

@@ -13,0 +15,0 @@ mounted() {

@@ -5,3 +5,2 @@ //<%if(vuex){%>vuex

export default {
name: "NotFound",
computed: {

@@ -8,0 +7,0 @@ //<%if(vuex){%>vuex

{
"name": "generator-kscpm",
"version": "2.1.20",
"version": "2.1.21",
"description": "这是一个用于初始化项目的工具 , 基于 yeoman",

@@ -5,0 +5,0 @@ "files": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc