test(example): change position of example code

This commit is contained in:
reco_luan 2020-04-03 22:27:09 +08:00
parent 993c751a82
commit 4f3aed814a
23 changed files with 18 additions and 3 deletions

View File

@ -7,7 +7,7 @@ module.exports = {
['meta', { name: 'viewport', content: 'width=device-width,initial-scale=1,user-scalable=no' }] ['meta', { name: 'viewport', content: 'width=device-width,initial-scale=1,user-scalable=no' }]
], ],
// theme: 'reco', // theme: 'reco',
theme: require.resolve('../../../packages/vuepress-theme-reco'), theme: require.resolve('../../packages/vuepress-theme-reco'),
themeConfig: { themeConfig: {
nav: [ nav: [
{ text: 'Home', link: '/', icon: 'reco-home' }, { text: 'Home', link: '/', icon: 'reco-home' },

View File

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

Before

Width:  |  Height:  |  Size: 159 KiB

After

Width:  |  Height:  |  Size: 159 KiB

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -9,10 +9,10 @@
], ],
"scripts": { "scripts": {
"bootstrap": "lerna bootstrap", "bootstrap": "lerna bootstrap",
"build": "vuepress build example/docs", "build": "vuepress build example",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"commit": "git add . && git-cz", "commit": "git add . && git-cz",
"dev": "vuepress dev example/docs", "dev": "vuepress dev example",
"eslint-ext": "eslint --ext .js,.vue ./", "eslint-ext": "eslint --ext .js,.vue ./",
"eslint-fix": "eslint --fix --ext .js,.vue ./", "eslint-fix": "eslint --fix --ext .js,.vue ./",
"prepublish": "lerna publish --dist-tag next", "prepublish": "lerna publish --dist-tag next",

View File

@ -0,0 +1,3 @@
__tests__
__mocks__
node_modules

View File

@ -0,0 +1,3 @@
__tests__
__mocks__
node_modules

View File

@ -0,0 +1,3 @@
__tests__
__mocks__
node_modules

View File

@ -0,0 +1,3 @@
__tests__
__mocks__
node_modules

View File

@ -0,0 +1,3 @@
__tests__
__mocks__
node_modules