This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import '~@vue/cli-ui/src/style/imports' | |
.my-class | |
background $vue-ui-color-light-neutral | |
.vue-ui-dark-mode & | |
background $vue-ui-color-dark |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Existing imports | |
import Vue from 'vue' | |
import router from './router' | |
import store from './store' | |
// Other existing code here | |
// Add 'app' variable | |
const app = new Vue({ | |
// Existing options |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const path = require('path') | |
module.exports = { | |
chainWebpack: config => { | |
const types = ['vue-modules', 'vue', 'normal-modules', 'normal'] | |
types.forEach(type => addStyleResource(config.module.rule('stylus').oneOf(type))) | |
}, | |
} | |
function addStyleResource (rule) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
export default { | |
inheritAttrs: false, | |
props: { | |
index: { | |
type: [String, Number], | |
default: null, | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Vue from 'nativescript-vue' | |
import router from './router' | |
import store from './store' | |
import devtools from '@vue/devtools' | |
// Prints Vue logs when --env.production is *NOT* set while building | |
Vue.config.silent = (TNS_ENV === 'production') | |
const app = new Vue({ | |
router, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
pages: { | |
pageA: 'src/pageA.js', | |
pageB: 'src/pageB.js', | |
pageC: 'src/pageC.js', | |
}, | |
chainWebpack: config => { | |
const options = module.exports | |
const pages = options.pages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "My preset", | |
"useConfigFiles": false, | |
"plugins": { | |
"@nodepack/plugin-babel": "^0.0.1", | |
"@nodepack/plugin-typescript": "^0.0.1" | |
}, | |
"appMigrations": { | |
"@nodepack/plugin-typescript": { | |
"default-template@0.0.1": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<DynamicScrollerItem | |
:item="item" | |
:active="active" | |
:size-dependencies="[ | |
idState.answering, | |
data.answer, | |
isLiveAnswering, | |
]" | |
> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Some user. | |
""" | |
type User implements Entity { | |
id: ID! | |
email: String! | |
organization: Organization! | |
""" | |
Teams of the user. | |
""" |