import * as _ from 'underscore.string';
import Vue from 'vue';
import AwesomeMixin from './mixins/AwesomeMixin';
import HelloWorld from './components/HelloWorld.vue';
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
| doctype | |
| html | |
| body | |
| // See: https://codepen.io/jbenner/pen/XyKqbK | |
| h2 Usage | |
| code(data-lang='sh') readme-md --help |
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
| /** | |
| * eslint.recommended (annotated) | |
| * ================ | |
| * Annotated defaults based on eslint.recommended | |
| * | |
| * @author: wassname | |
| * @license: MIT | |
| * @website https://gist.github.com/wassname/4693303388396c5f074b10865a969b43 | |
| * @date 2017-11-13T23:08 | |
| * @eslint-version: 4.11.0 |
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 = { | |
| root: true, | |
| env: { | |
| node: true | |
| }, | |
| extends: [ | |
| 'plugin:vue/recommended', | |
| 'eslint:recommended' | |
| ], | |
| rules: { |
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
| const path = require('path'); | |
| const PrerenderSpaPlugin = require('prerender-spa-plugin'); | |
| const Renderer = PrerenderSpaPlugin.PuppeteerRenderer; | |
| module.exports = { | |
| configureWebpack: { | |
| plugins: [ | |
| new PrerenderSpaPlugin({ | |
| staticDir: path.join(__dirname, 'dist'), | |
| routes: ['/'], |
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
| # EditorConfig is awesome: http://EditorConfig.org | |
| # Top-most EditorConfig file. | |
| root = true | |
| [*] | |
| charset = utf-8 | |
| end_of_line = lf | |
| indent_size = 4 | |
| indent_style = space |
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
| 'use strict'; | |
| const path = require('path'); | |
| module.exports = { | |
| /** @see https://webpack.js.org/configuration/entry-context/#entry */ | |
| entry: './src/js/index.js', | |
| /** @see https://webpack.js.org/configuration/output/ */ | |
| output: { |
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> | |
| <h1>Hello World!</h1> | |
| </template> | |
| <script> | |
| export default { | |
| name: 'app' | |
| } | |
| </script> |
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
| 'use strict'; | |
| import App from '../components/App.vue'; | |
| import Vue from 'vue'; | |
| new Vue({ | |
| el: '#app', | |
| render: h => h(App) | |
| }); |
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
| 'use strict'; | |
| const path = require('path'); | |
| const webpack = require('webpack'); | |
| module.exports = { | |
| /** @see https://webpack.js.org/configuration/entry-context/#entry */ | |
| entry: './src/js/index.js', | |
| /** @see https://webpack.js.org/configuration/output/ */ |