Socket
Socket
Sign inDemoInstall

create-quasar

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-quasar - npm Package Compare versions

Comparing version 1.0.29 to 1.0.30

2

package.json
{
"name": "create-quasar",
"version": "1.0.29",
"version": "1.0.30",
"description": "Scaffolds Quasar Apps, AppExtensions or UI kits",

@@ -5,0 +5,0 @@ "author": {

import { store } from 'quasar/wrappers'
import { createPinia } from 'pinia'
import { Router } from 'vue-router';
/*
* When adding new properties to stores, you should also
* extend the `PiniaCustomProperties` interface.
* @see https://pinia.vuejs.org/core-concepts/plugins.html#typing-new-store-properties
*/
declare module 'pinia' {
export interface PiniaCustomProperties {
readonly router: Router;
}
}
/*
* If not building with SSR mode, you can

@@ -6,0 +18,0 @@ * directly export the Store instantiation;

import { store } from 'quasar/wrappers'
import { InjectionKey } from 'vue'
import { Router } from 'vue-router'
import {

@@ -38,2 +39,9 @@ createStore,

// Provide typings for `this.$router` inside Vuex stores
declare module "vuex" {
export interface Store<S> {
readonly $router: Router;
}
}
export default store(function (/* { ssrContext } */) {

@@ -40,0 +48,0 @@ const Store = createStore<StateInterface>({

import { store } from 'quasar/wrappers'
import { createPinia } from 'pinia'
import { Router } from 'vue-router';
/*
* When adding new properties to stores, you should also
* extend the `PiniaCustomProperties` interface.
* @see https://pinia.vuejs.org/core-concepts/plugins.html#typing-new-store-properties
*/
declare module 'pinia' {
export interface PiniaCustomProperties {
readonly router: Router;
}
}
/*
* If not building with SSR mode, you can

@@ -6,0 +18,0 @@ * directly export the Store instantiation;

import { store } from 'quasar/wrappers'
import { InjectionKey } from 'vue'
import { Router } from 'vue-router'
import {

@@ -38,2 +39,9 @@ createStore,

// Provide typings for `this.$router` inside Vuex store
declare module "vuex" {
export interface Store<S> {
readonly $router: Router;
}
}
export default store(function (/* { ssrContext } */) {

@@ -40,0 +48,0 @@ const Store = createStore<StateInterface>({

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc