Installation
9 |if you want to use animate feature
17 |Basic Use
25 |main.js
26 |template
37 |script
59 |style
77 |├── example ├── static │ └── .gitkeep ├── .eslintignore ├── config │ ├── prod.env.js │ ├── dev.env.js │ └── index.js ├── .gitignore ├── src │ ├── assets │ │ ├── image │ │ │ └── phone_bg.png │ │ └── css │ │ │ ├── base.css │ │ │ ├── layout.css │ │ │ ├── _marked.css │ │ │ └── normalize.css │ ├── pages │ │ ├── mobile-page.vue │ │ └── home.vue │ ├── App.vue │ ├── route │ │ └── index.js │ ├── main.js │ └── components │ │ ├── mark.vue │ │ └── phone.vue ├── .editorconfig ├── .postcssrc.js ├── build │ ├── dev-client.js │ ├── vue-loader.conf.js │ ├── build.js │ ├── webpack.dev.conf.js │ ├── check-versions.js │ ├── webpack.base.conf.js │ ├── utils.js │ ├── dev-server.js │ └── webpack.prod.conf.js ├── .babelrc ├── index.html ├── README.md ├── .eslintrc.js └── package.json ├── .npmignore ├── .gitignore ├── package.json ├── vue-fullpage.css ├── README_CN.md ├── README.md ├── doc ├── api_cn.md └── api.md └── index.js /example/static/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | example/ 2 | doc/ 3 | todo.md 4 | -------------------------------------------------------------------------------- /example/.eslintignore: -------------------------------------------------------------------------------- 1 | build/*.js 2 | config/*.js 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules/ 3 | dist/ 4 | npm-debug.log 5 | -------------------------------------------------------------------------------- /example/config/prod.env.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | NODE_ENV: '"production"' 3 | } 4 | -------------------------------------------------------------------------------- /example/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules/ 3 | dist/ 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | -------------------------------------------------------------------------------- /example/src/assets/image/phone_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taomas/vue-fullpage/HEAD/example/src/assets/image/phone_bg.png -------------------------------------------------------------------------------- /example/config/dev.env.js: -------------------------------------------------------------------------------- 1 | var merge = require('webpack-merge') 2 | var prodEnv = require('./prod.env') 3 | 4 | module.exports = merge(prodEnv, { 5 | NODE_ENV: '"development"' 6 | }) 7 | -------------------------------------------------------------------------------- /example/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /example/.postcssrc.js: -------------------------------------------------------------------------------- 1 | // https://github.com/michael-ciniawsky/postcss-load-config 2 | 3 | module.exports = { 4 | "plugins": { 5 | // to edit target browsers: use "browserlist" field in package.json 6 | "autoprefixer": {} 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /example/src/assets/css/base.css: -------------------------------------------------------------------------------- 1 | @import 'layout.css'; 2 | @import 'normalize.css'; 3 | @import '_marked.css'; 4 | 5 | pre { 6 | padding: 10px 10px 10px 20px; 7 | background: hsla(0,0%,100%,.05); 8 | border: 1px solid hsla(0,0%,100%,.3); 9 | overflow: scroll; 10 | } 11 | -------------------------------------------------------------------------------- /example/build/dev-client.js: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | require('eventsource-polyfill') 3 | var hotClient = require('webpack-hot-middleware/client?noInfo=true&reload=true') 4 | 5 | hotClient.subscribe(function (event) { 6 | if (event.action === 'reload') { 7 | window.location.reload() 8 | } 9 | }) 10 | -------------------------------------------------------------------------------- /example/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | ["env", { "modules": false }], 4 | "stage-2" 5 | ], 6 | "plugins": ["transform-runtime"], 7 | "comments": false, 8 | "env": { 9 | "test": { 10 | "presets": ["env", "stage-2"], 11 | "plugins": [ "istanbul" ] 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /example/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 |vue-fullpage
6 |vue-fullpage
9 |vue-fullpage
12 |vue-fullpage
13 |vue-fullpage
14 |vue-fullpage
47 |vue-fullpage
50 |vue-fullpage
53 |vue-fullpage
54 |vue-fullpage
55 |vue-fullpage
49 |vue-fullpage
52 |vue-fullpage
55 |vue-fullpage
56 |vue-fullpage
57 |if you want to use animate feature
17 |main.js
26 |template
37 |script
59 |style
77 |