├── src ├── views │ ├── order.vue │ ├── about.vue │ ├── not-found.vue │ ├── coach.vue │ ├── course.vue │ └── wallet.vue ├── assets │ ├── scss │ │ ├── app │ │ │ ├── base │ │ │ │ ├── _mixins.scss │ │ │ │ ├── _index.scss │ │ │ │ ├── _function.scss │ │ │ │ └── _reset.scss │ │ │ ├── component │ │ │ │ ├── _index.scss │ │ │ │ ├── _nav.scss │ │ │ │ └── _swipe.scss │ │ │ ├── page │ │ │ │ ├── _index.scss │ │ │ │ ├── _coach.scss │ │ │ │ ├── _course.scss │ │ │ │ └── _wallet.scss │ │ │ └── app.scss │ │ ├── index.scss │ │ └── bootstrap │ │ │ ├── mixins │ │ │ ├── _clearfix.scss │ │ │ ├── _pulls.scss │ │ │ ├── _size.scss │ │ │ ├── _center-block.scss │ │ │ ├── _text-hide.scss │ │ │ ├── _lists.scss │ │ │ ├── _text-truncate.scss │ │ │ ├── _tab-focus.scss │ │ │ ├── _label.scss │ │ │ ├── _resize.scss │ │ │ ├── _text-emphasis.scss │ │ │ ├── _nav-divider.scss │ │ │ ├── _reset-filter.scss │ │ │ ├── _alert.scss │ │ │ ├── _background-variant.scss │ │ │ ├── _progress.scss │ │ │ ├── _navbar-align.scss │ │ │ ├── _reset-text.scss │ │ │ ├── _pagination.scss │ │ │ ├── _list-group.scss │ │ │ ├── _table-row.scss │ │ │ ├── _screen-reader.scss │ │ │ ├── _cards.scss │ │ │ ├── _border-radius.scss │ │ │ ├── _hover.scss │ │ │ ├── _image.scss │ │ │ ├── _grid-framework.scss │ │ │ ├── _grid.scss │ │ │ ├── _buttons.scss │ │ │ ├── _gradients.scss │ │ │ ├── _forms.scss │ │ │ └── _breakpoints.scss │ │ │ ├── bootstrap-flex.scss │ │ │ ├── bootstrap-reboot.scss │ │ │ ├── _animation.scss │ │ │ ├── _jumbotron.scss │ │ │ ├── _utilities-background.scss │ │ │ ├── _breadcrumb.scss │ │ │ ├── _responsive-embed.scss │ │ │ ├── _close.scss │ │ │ ├── _utilities-responsive.scss │ │ │ ├── _pager.scss │ │ │ ├── _utilities-spacing.scss │ │ │ ├── bootstrap.scss │ │ │ ├── _code.scss │ │ │ ├── bootstrap-grid.scss │ │ │ ├── _mixins.scss │ │ │ ├── _media.scss │ │ │ ├── _images.scss │ │ │ ├── _alert.scss │ │ │ ├── _print.scss │ │ │ ├── _labels.scss │ │ │ ├── _grid.scss │ │ │ ├── _pagination.scss │ │ │ ├── _utilities.scss │ │ │ ├── _tooltip.scss │ │ │ ├── _type.scss │ │ │ ├── _nav.scss │ │ │ ├── _modal.scss │ │ │ ├── _popover.scss │ │ │ ├── _list-group.scss │ │ │ ├── _buttons.scss │ │ │ ├── _tables.scss │ │ │ ├── _progress.scss │ │ │ ├── _navbar.scss │ │ │ ├── _input-group.scss │ │ │ ├── _dropdown.scss │ │ │ ├── _carousel.scss │ │ │ ├── _button-group.scss │ │ │ ├── _card.scss │ │ │ ├── _custom-forms.scss │ │ │ └── _normalize.scss │ └── fonts │ │ ├── FontAwesome.otf │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.ttf │ │ ├── fontawesome-webfont.woff │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.ttf │ │ └── glyphicons-halflings-regular.woff ├── components │ ├── button.vue │ ├── utils │ │ ├── callAjax.js │ │ ├── getScrollBarWidth.js │ │ └── EventListener.js │ ├── nav.vue │ └── modal.vue ├── app.vue ├── main.js ├── route-config.js └── wx-api.js ├── mock ├── _map ├── api │ ├── data │ │ └── cache.json │ ├── user │ │ ├── get.js │ │ └── list.js │ ├── signature.js │ ├── coach │ │ └── get.js │ ├── wallet │ │ └── get.js │ └── course │ │ └── list.js └── list.js ├── assets ├── vendor │ ├── lib-flexible │ │ ├── combo.js │ │ ├── combo.debug.js │ │ ├── flexible.css │ │ ├── package.json │ │ ├── flexible_css.js │ │ ├── flexible_css.debug.js │ │ ├── makegrid.js │ │ ├── flexible.js │ │ ├── flexible.debug.css │ │ ├── makegrid.debug.js │ │ └── flexible.debug.js │ └── test.js └── img │ ├── heisencat.png │ ├── xw0129mjl.jpg │ ├── xw0131bd.jpg │ └── xw0131jy.jpg ├── README.md ├── .gitignore ├── test └── unit │ ├── index.js │ └── Hello.spec.js ├── server.js ├── wx.db ├── index.html ├── package.json ├── npm-debug.log └── .eslintrc /src/views/order.vue: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mock/_map: -------------------------------------------------------------------------------- 1 | /list list.js 2 | -------------------------------------------------------------------------------- /assets/vendor/lib-flexible/combo.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/assets/scss/app/base/_mixins.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/vendor/lib-flexible/combo.debug.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/vendor/test.js: -------------------------------------------------------------------------------- 1 | console.log('test'); 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # wx-vue 2 | weixin html5 page with vue 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.sublime-project 3 | dist 4 | -------------------------------------------------------------------------------- /src/assets/scss/app/component/_index.scss: -------------------------------------------------------------------------------- 1 | @import "swipe"; 2 | @import "nav"; 3 | -------------------------------------------------------------------------------- /src/assets/scss/index.scss: -------------------------------------------------------------------------------- 1 | @import "bootstrap/bootstrap-flex"; 2 | @import "app/app"; 3 | -------------------------------------------------------------------------------- /assets/img/heisencat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lynzz/wx-vue/HEAD/assets/img/heisencat.png -------------------------------------------------------------------------------- /assets/img/xw0129mjl.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lynzz/wx-vue/HEAD/assets/img/xw0129mjl.jpg -------------------------------------------------------------------------------- /assets/img/xw0131bd.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lynzz/wx-vue/HEAD/assets/img/xw0131bd.jpg -------------------------------------------------------------------------------- /assets/img/xw0131jy.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lynzz/wx-vue/HEAD/assets/img/xw0131jy.jpg -------------------------------------------------------------------------------- /src/assets/scss/app/base/_index.scss: -------------------------------------------------------------------------------- 1 | @import "reset"; 2 | @import "mixins"; 3 | @import "function"; 4 | -------------------------------------------------------------------------------- /src/assets/scss/app/page/_index.scss: -------------------------------------------------------------------------------- 1 | @import "course"; 2 | @import "coach"; 3 | @import "wallet"; 4 | -------------------------------------------------------------------------------- /src/assets/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lynzz/wx-vue/HEAD/src/assets/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /src/assets/scss/app/app.scss: -------------------------------------------------------------------------------- 1 | @import "base/index"; 2 | @import "component/index"; 3 | @import "page/index"; 4 | -------------------------------------------------------------------------------- /src/assets/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lynzz/wx-vue/HEAD/src/assets/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /src/assets/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lynzz/wx-vue/HEAD/src/assets/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /src/assets/scss/app/base/_function.scss: -------------------------------------------------------------------------------- 1 | $rem: 64px; 2 | 3 | @function px2rem($px) { 4 | @return $px / $rem * 1rem; 5 | } 6 | -------------------------------------------------------------------------------- /src/assets/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lynzz/wx-vue/HEAD/src/assets/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /mock/api/data/cache.json: -------------------------------------------------------------------------------- 1 | {"ticket":"kgt8ON7yVITDhtdwci0qeQzO8Dvqe7SV47Zb0Pxb3Y_4C3YpLC1flNhLCpTtcJylCX2zG25TFX7LQj3YmWOQtw","time":1456309756074} -------------------------------------------------------------------------------- /src/assets/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lynzz/wx-vue/HEAD/src/assets/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /src/assets/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lynzz/wx-vue/HEAD/src/assets/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /src/assets/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lynzz/wx-vue/HEAD/src/assets/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /src/components/button.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 10 | -------------------------------------------------------------------------------- /src/views/about.vue: -------------------------------------------------------------------------------- 1 | 2 | about me 3 | 4 | 5 | 10 | -------------------------------------------------------------------------------- /src/assets/scss/app/component/_nav.scss: -------------------------------------------------------------------------------- 1 | .navbar { 2 | a { 3 | color: #fff; 4 | } 5 | .v-link-active { 6 | color: $link-color 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/assets/scss/bootstrap/mixins/_clearfix.scss: -------------------------------------------------------------------------------- 1 | @mixin clearfix() { 2 | &::after { 3 | content: ""; 4 | display: table; 5 | clear: both; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/assets/scss/bootstrap/mixins/_pulls.scss: -------------------------------------------------------------------------------- 1 | @mixin pull-left { 2 | float: left !important; 3 | } 4 | @mixin pull-right { 5 | float: right !important; 6 | } 7 | -------------------------------------------------------------------------------- /src/assets/scss/bootstrap/mixins/_size.scss: -------------------------------------------------------------------------------- 1 | // Sizing shortcuts 2 | 3 | @mixin size($width, $height: $width) { 4 | width: $width; 5 | height: $height; 6 | } 7 | -------------------------------------------------------------------------------- /src/views/not-found.vue: -------------------------------------------------------------------------------- 1 | 2 | 404 page 3 | 4 | 5 | 9 | 11 | -------------------------------------------------------------------------------- /src/assets/scss/bootstrap/mixins/_center-block.scss: -------------------------------------------------------------------------------- 1 | // Center-align a block level element 2 | 3 | @mixin center-block() { 4 | display: block; 5 | margin-left: auto; 6 | margin-right: auto; 7 | } 8 | -------------------------------------------------------------------------------- /src/assets/scss/bootstrap/mixins/_text-hide.scss: -------------------------------------------------------------------------------- 1 | // CSS image replacement 2 | @mixin text-hide() { 3 | font: "0/0" a; 4 | color: transparent; 5 | text-shadow: none; 6 | background-color: transparent; 7 | border: 0; 8 | } 9 | -------------------------------------------------------------------------------- /src/assets/scss/bootstrap/mixins/_lists.scss: -------------------------------------------------------------------------------- 1 | // Lists 2 | 3 | // Unstyled keeps list items block level, just removes default browser padding and list-style 4 | @mixin list-unstyled { 5 | padding-left: 0; 6 | list-style: none; 7 | } 8 | -------------------------------------------------------------------------------- /src/assets/scss/bootstrap/mixins/_text-truncate.scss: -------------------------------------------------------------------------------- 1 | // Text truncate 2 | // Requires inline-block or block for proper styling 3 | 4 | @mixin text-truncate() { 5 | overflow: hidden; 6 | text-overflow: ellipsis; 7 | white-space: nowrap; 8 | } -------------------------------------------------------------------------------- /src/assets/scss/bootstrap/bootstrap-flex.scss: -------------------------------------------------------------------------------- 1 | // Bootstrap with Flexbox enabled 2 | // 3 | // Includes all the imports from the standard Bootstrap project, but enables 4 | // the flexbox variable. 5 | 6 | $enable-flex: true; 7 | 8 | @import "bootstrap"; 9 | -------------------------------------------------------------------------------- /src/assets/scss/bootstrap/mixins/_tab-focus.scss: -------------------------------------------------------------------------------- 1 | // WebKit-style focus 2 | 3 | @mixin tab-focus() { 4 | // Default 5 | outline: thin dotted; 6 | // WebKit 7 | outline: 5px auto -webkit-focus-ring-color; 8 | outline-offset: -2px; 9 | } 10 | -------------------------------------------------------------------------------- /src/assets/scss/bootstrap/mixins/_label.scss: -------------------------------------------------------------------------------- 1 | // Labels 2 | 3 | @mixin label-variant($color) { 4 | background-color: $color; 5 | 6 | &[href] { 7 | @include hover-focus { 8 | background-color: darken($color, 10%); 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/assets/scss/bootstrap/mixins/_resize.scss: -------------------------------------------------------------------------------- 1 | // Resize anything 2 | 3 | @mixin resizable($direction) { 4 | resize: $direction; // Options: horizontal, vertical, both 5 | overflow: auto; // Per CSS3 UI, `resize` only applies when `overflow` isn't `visible` 6 | } 7 | -------------------------------------------------------------------------------- /src/assets/scss/app/base/_reset.scss: -------------------------------------------------------------------------------- 1 | body { 2 | -webkit-overflow-scrolling: touch; 3 | } 4 | 5 | a, button, input, optgroup, select, textarea { 6 | -webkit-tap-highlight-color:rgba(0,0,0,0); 7 | } 8 | 9 | a, img { 10 | -webkit-touch-callout: none; 11 | } 12 | -------------------------------------------------------------------------------- /src/assets/scss/bootstrap/bootstrap-reboot.scss: -------------------------------------------------------------------------------- 1 | // Bootstrap Reboot only 2 | // 3 | // Includes only Normalize and our custom Reboot reset. 4 | 5 | @import "variables"; 6 | @import "mixins/hover"; 7 | @import "mixins/tab-focus"; 8 | 9 | @import "normalize"; 10 | @import "reboot"; 11 | -------------------------------------------------------------------------------- /src/app.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 19 | -------------------------------------------------------------------------------- /mock/api/user/get.js: -------------------------------------------------------------------------------- 1 | module.exports = function(req, res, next) { 2 | var data = { 3 | success: true, 4 | data: { 5 | id: req.query.id, 6 | url: '#!/user/' + id, 7 | name: 'Chuck Norris ' + id 8 | } 9 | }; 10 | data = JSON.stringify(data); 11 | res.end(data); 12 | } 13 | -------------------------------------------------------------------------------- /src/assets/scss/bootstrap/mixins/_text-emphasis.scss: -------------------------------------------------------------------------------- 1 | // Typography 2 | 3 | @mixin text-emphasis-variant($parent, $color) { 4 | #{$parent} { 5 | color: $color !important; 6 | } 7 | a#{$parent} { 8 | @include hover-focus { 9 | color: darken($color, 10%); 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/assets/scss/bootstrap/mixins/_nav-divider.scss: -------------------------------------------------------------------------------- 1 | // Horizontal dividers 2 | // 3 | // Dividers (basically an hr) within dropdowns and nav lists 4 | 5 | @mixin nav-divider($color: #e5e5e5) { 6 | height: 1px; 7 | margin: ($spacer-y / 2) 0; 8 | overflow: hidden; 9 | background-color: $color; 10 | } 11 | -------------------------------------------------------------------------------- /src/assets/scss/bootstrap/mixins/_reset-filter.scss: -------------------------------------------------------------------------------- 1 | // Reset filters for IE 2 | // 3 | // When you need to remove a gradient background, do not forget to use this to reset 4 | // the IE filter for IE9. 5 | 6 | @mixin reset-filter() { 7 | filter: "progid:DXImageTransform.Microsoft.gradient(enabled = false)"; 8 | } 9 | -------------------------------------------------------------------------------- /test/unit/index.js: -------------------------------------------------------------------------------- 1 | // Polyfill fn.bind() for PhantomJS 2 | /* eslint-disable no-extend-native */ 3 | Function.prototype.bind = require('function-bind') 4 | 5 | // require all test files (files that ends with .spec.js) 6 | var testsContext = require.context('.', true, /\.spec$/) 7 | testsContext.keys().forEach(testsContext) 8 | -------------------------------------------------------------------------------- /src/assets/scss/bootstrap/mixins/_alert.scss: -------------------------------------------------------------------------------- 1 | // Alerts 2 | 3 | @mixin alert-variant($background, $border, $body-color) { 4 | background-color: $background; 5 | border-color: $border; 6 | color: $body-color; 7 | 8 | hr { 9 | border-top-color: darken($border, 5%); 10 | } 11 | .alert-link { 12 | color: darken($body-color, 10%); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/assets/scss/bootstrap/mixins/_background-variant.scss: -------------------------------------------------------------------------------- 1 | // Contextual backgrounds 2 | 3 | @mixin bg-variant($parent, $color) { 4 | #{$parent} { 5 | color: #fff !important; 6 | background-color: $color !important; 7 | } 8 | a#{$parent} { 9 | @include hover-focus { 10 | background-color: darken($color, 10%); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/assets/scss/app/page/_coach.scss: -------------------------------------------------------------------------------- 1 | .coach { 2 | &-swipe { 3 | height: 200px; 4 | } 5 | &-profile { 6 | display: flex; 7 | img { 8 | width: 100px; 9 | height: 100px; 10 | overflow: hidden; 11 | display: block; 12 | margin-right: 10px; 13 | } 14 | } 15 | &-info { 16 | text-indent: 24px; 17 | flex: 1 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/assets/scss/bootstrap/mixins/_progress.scss: -------------------------------------------------------------------------------- 1 | // Progress bars 2 | 3 | @mixin progress-variant($color) { 4 | &[value]::-webkit-progress-value { 5 | background-color: $color; 6 | } 7 | 8 | &[value]::-moz-progress-bar { 9 | background-color: $color; 10 | } 11 | 12 | // IE9 13 | @media screen and (min-width:0\0) { 14 | .progress-bar { 15 | background-color: $color; 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/assets/scss/bootstrap/mixins/_navbar-align.scss: -------------------------------------------------------------------------------- 1 | // Navbar vertical align 2 | // 3 | // Vertically center elements in the navbar. 4 | // Example: an element has a height of 30px, so write out `.navbar-vertical-align(30px);` to calculate the appropriate top margin. 5 | 6 | // @mixin navbar-vertical-align($element-height) { 7 | // margin-top: (($navbar-height - $element-height) / 2); 8 | // margin-bottom: (($navbar-height - $element-height) / 2); 9 | // } 10 | -------------------------------------------------------------------------------- /src/components/utils/callAjax.js: -------------------------------------------------------------------------------- 1 | export default (url, callback)=> { 2 | var httpRequest = new XMLHttpRequest() 3 | httpRequest.onreadystatechange = function() { 4 | if (httpRequest.readyState === 4) { 5 | if (httpRequest.status === 200) { 6 | var data = JSON.parse(httpRequest.responseText) 7 | if (callback) callback(data) 8 | } 9 | } 10 | } 11 | httpRequest.open('GET', url) 12 | httpRequest.send() 13 | } -------------------------------------------------------------------------------- /src/components/nav.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 团队课程 4 | 私教课程 5 | 小班课程 6 | 我的钱包 7 | 我的订单 8 | 9 | 10 | 11 | 20 | -------------------------------------------------------------------------------- /src/assets/scss/bootstrap/_animation.scss: -------------------------------------------------------------------------------- 1 | .fade { 2 | opacity: 0; 3 | transition: opacity .15s linear; 4 | 5 | &.in { 6 | opacity: 1; 7 | } 8 | } 9 | 10 | .collapse { 11 | display: none; 12 | 13 | &.in { 14 | display: block; 15 | } 16 | // tr&.in { display: table-row; } 17 | // tbody&.in { display: table-row-group; } 18 | } 19 | 20 | .collapsing { 21 | position: relative; 22 | height: 0; 23 | overflow: hidden; 24 | transition-timing-function: ease; 25 | transition-duration: .35s; 26 | transition-property: height; 27 | } 28 | -------------------------------------------------------------------------------- /src/assets/scss/bootstrap/_jumbotron.scss: -------------------------------------------------------------------------------- 1 | .jumbotron { 2 | padding: $jumbotron-padding ($jumbotron-padding / 2); 3 | margin-bottom: $jumbotron-padding; 4 | background-color: $jumbotron-bg; 5 | @include border-radius($border-radius-lg); 6 | 7 | @include media-breakpoint-up(sm) { 8 | padding: ($jumbotron-padding * 2) $jumbotron-padding; 9 | } 10 | } 11 | 12 | .jumbotron-hr { 13 | border-top-color: darken($jumbotron-bg, 10%); 14 | } 15 | 16 | .jumbotron-fluid { 17 | padding-right: 0; 18 | padding-left: 0; 19 | @include border-radius(0); 20 | } 21 | -------------------------------------------------------------------------------- /mock/list.js: -------------------------------------------------------------------------------- 1 | module.exports = function(req, res, next) { 2 | var pageSize = req.query.pageSize || 5; 3 | var pageNo = req.query.pageNo || 1; 4 | var listData = []; 5 | for(var i = 0; i < 5; i++) { 6 | var id = (pageNo - 1) * pageSize + i + 1; 7 | listData.push({ 8 | id: id, 9 | name: 'Chuck Norris ' + id, 10 | power: 1000 + id 11 | }); 12 | } 13 | var data = { 14 | data: { 15 | pageNo: pageNo, 16 | totalCount: 10, 17 | listData: listData 18 | } 19 | }; 20 | data = JSON.stringify(data); 21 | res.end(data); 22 | } 23 | -------------------------------------------------------------------------------- /src/assets/scss/bootstrap/mixins/_reset-text.scss: -------------------------------------------------------------------------------- 1 | @mixin reset-text { 2 | font-family: $font-family-base; 3 | // We deliberately do NOT reset font-size. 4 | font-style: normal; 5 | font-weight: normal; 6 | letter-spacing: normal; 7 | line-break: auto; 8 | line-height: $line-height; 9 | text-align: left; // Fallback for where `start` is not supported 10 | text-align: start; 11 | text-decoration: none; 12 | text-shadow: none; 13 | text-transform: none; 14 | white-space: normal; 15 | word-break: normal; 16 | word-spacing: normal; 17 | word-wrap: normal; 18 | } 19 | -------------------------------------------------------------------------------- /test/unit/Hello.spec.js: -------------------------------------------------------------------------------- 1 | /* global describe, it, expect */ 2 | 3 | import Vue from 'vue' 4 | import Hello from 'src/components/Hello' 5 | 6 | describe('Hello.vue', () => { 7 | it('should render correct contents', () => { 8 | const vm = new Vue({ 9 | template: '
{{coachData.description}}
{{date.day}}
{{date.week}}