This file contains hidden or 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> | |
| <div id="app"> | |
| <RouteController /> | |
| <nav>...</nav> | |
| <router-view/> | |
| </div> | |
| </template> |
This file contains hidden or 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> | |
| import { isValidMultiName } from '@/util/folders' | |
| import FOLDER_CURRENT from '@/graphql/folder/folderCurrent.gql' | |
| import FOLDERS_FAVORITE from '@/graphql/folder/foldersFavorite.gql' | |
| import FOLDER_OPEN from '@/graphql/folder/folderOpen.gql' | |
| import FOLDER_OPEN_PARENT from '@/graphql/folder/folderOpenParent.gql' | |
| import FOLDER_SET_FAVORITE from '@/graphql/folder/folderSetFavorite.gql' | |
| import PROJECT_CWD_RESET from '@/graphql/project/projectCwdReset.gql' | |
| import FOLDER_CREATE from '@/graphql/folder/folderCreate.gql' |
This file contains hidden or 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> | |
| import { isValidMultiName } from '@/util/folders' | |
| import FOLDER_CURRENT from '@/graphql/folder/folderCurrent.gql' | |
| import FOLDERS_FAVORITE from '@/graphql/folder/foldersFavorite.gql' | |
| import FOLDER_OPEN from '@/graphql/folder/folderOpen.gql' | |
| import FOLDER_OPEN_PARENT from '@/graphql/folder/folderOpenParent.gql' | |
| import FOLDER_SET_FAVORITE from '@/graphql/folder/folderSetFavorite.gql' | |
| import PROJECT_CWD_RESET from '@/graphql/project/projectCwdReset.gql' | |
| import FOLDER_CREATE from '@/graphql/folder/folderCreate.gql' |
This file contains hidden or 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 Case from 'case' | |
| const originalToString = Object.prototype.toString | |
| function isPlainObject (obj: any): boolean { | |
| return originalToString.call(obj) === '[object Object]' | |
| } | |
| export function toCamel (data: any): any { | |
| if (Array.isArray(data)) { |
This file contains hidden or 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 Prism from 'prismjs' | |
| import loadLanguages from 'prismjs/components/index.js' | |
| import path from 'path' | |
| loadLanguages() | |
| const languages = [ | |
| { test: /\.(html|vue|xml)$/, lang: 'markup' }, | |
| { test: /\.js$/, lang: 'javascript' }, | |
| { test: /\.sh$/, lang: 'bash' }, |
This file contains hidden or 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 = { | |
| chainWebpack: config => { | |
| config | |
| .plugin('manifest') | |
| .use('webpack-assets-manifest', [{ | |
| publicPath: process.env.BASE_URL, | |
| output: process.env.NODE_ENV === 'development' ? 'webpack.dev.manifest.json' : 'webpack.manifest.json', | |
| writeToDisk: true, | |
| }]) | |
| } |
This file contains hidden or 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. | |
| """ |
This file contains hidden or 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 hidden or 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": { | |
| "[email protected]": { |
This file contains hidden or 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 |