├── .gitattributes
├── .npmignore
├── docs
├── Gemfile
├── .gitignore
├── assets
│ ├── css
│ │ └── style.scss
│ ├── fonts
│ │ ├── Noto-Sans-700
│ │ │ ├── Noto-Sans-700.eot
│ │ │ ├── Noto-Sans-700.ttf
│ │ │ ├── Noto-Sans-700.woff
│ │ │ ├── Noto-Sans-700.woff2
│ │ │ └── Noto-Sans-700.svg
│ │ ├── Noto-Sans-italic
│ │ │ ├── Noto-Sans-italic.eot
│ │ │ ├── Noto-Sans-italic.ttf
│ │ │ ├── Noto-Sans-italic.woff
│ │ │ └── Noto-Sans-italic.woff2
│ │ ├── Noto-Sans-regular
│ │ │ ├── Noto-Sans-regular.eot
│ │ │ ├── Noto-Sans-regular.ttf
│ │ │ ├── Noto-Sans-regular.woff
│ │ │ └── Noto-Sans-regular.woff2
│ │ └── Noto-Sans-700italic
│ │ │ ├── Noto-Sans-700italic.eot
│ │ │ ├── Noto-Sans-700italic.ttf
│ │ │ ├── Noto-Sans-700italic.woff
│ │ │ └── Noto-Sans-700italic.woff2
│ └── js
│ │ └── scale.fix.js
├── thumbnail.png
├── script
│ ├── bootstrap
│ ├── cibuild
│ └── release
├── another-page.md
├── .travis.yml
├── _config.yml
├── jekyll-theme-minimal.gemspec
├── CONTRIBUTING.md
├── _sass
│ ├── fonts.scss
│ ├── rouge-github.scss
│ └── jekyll-theme-minimal.scss
├── _layouts
│ └── default.html
├── CODE_OF_CONDUCT.md
├── index.md
├── README.md
└── LICENSE
├── spec
├── support
│ └── jasmine.json
├── windowMock.js
├── documentMock.js
├── scriptSpec.js
├── templateSpec.js
├── cssSpec.js
└── pluginSpec.js
├── .eslintignore
├── .gitignore
├── examples
├── build.js
├── js_in_different_file.vue
├── js_in_different_file.js
├── index.html
├── component.html
├── using_alias.vue
├── app.js
├── component.vue
├── cordova
│ ├── config.xml
│ └── res
│ │ └── README.md
├── demo
│ ├── component.vue
│ ├── component.html
│ ├── async.vue
│ ├── app.js
│ ├── home.vue
│ ├── inner_template.vue
│ └── index.html
├── package.json
├── Gruntfile.js
└── require-vuejs.js
├── src
├── require-vuejs.js
├── vue.js
├── template_parser.js
├── template_preprocessor.js
├── css_parser.js
├── plugin.js
└── style_import.js
├── .codeclimate.yml
├── .travis.yml
├── bower.json
├── CONTRIBUTING.md
├── .eslintrc.js
├── LICENSE
├── package.json
├── CODE_OF_CONDUCT.md
├── dist
├── require-vuejs.min.js
└── require-vuejs.js
├── Gruntfile.js
└── README.md
/.gitattributes:
--------------------------------------------------------------------------------
1 | * text eol=lf
2 |
--------------------------------------------------------------------------------
/.npmignore:
--------------------------------------------------------------------------------
1 | docs/
2 | examples/
3 |
--------------------------------------------------------------------------------
/docs/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | gemspec
4 |
--------------------------------------------------------------------------------
/docs/.gitignore:
--------------------------------------------------------------------------------
1 | _site
2 | .sass-cache
3 | Gemfile.lock
4 | *.gem
5 |
--------------------------------------------------------------------------------
/docs/assets/css/style.scss:
--------------------------------------------------------------------------------
1 | ---
2 | ---
3 |
4 | @import "jekyll-theme-minimal";
5 |
--------------------------------------------------------------------------------
/spec/support/jasmine.json:
--------------------------------------------------------------------------------
1 | {
2 | "spec_dir": "spec",
3 | "random": true
4 | }
5 |
--------------------------------------------------------------------------------
/docs/thumbnail.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/edgardleal/require-vuejs/HEAD/docs/thumbnail.png
--------------------------------------------------------------------------------
/docs/script/bootstrap:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | set -e
4 |
5 | gem install bundler
6 | bundle install
7 |
--------------------------------------------------------------------------------
/docs/script/cibuild:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | set -e
4 |
5 | bundle exec jekyll build
6 | gem build jekyll-theme-minimal.gemspec
7 |
--------------------------------------------------------------------------------
/.eslintignore:
--------------------------------------------------------------------------------
1 | node_modules/*
2 | dist/*
3 | examples/require-vuejs.js
4 | examples/node_modules/*
5 | examples/dist/*
6 | coverage/*
7 |
--------------------------------------------------------------------------------
/docs/another-page.md:
--------------------------------------------------------------------------------
1 | ---
2 | layout: default
3 | ---
4 |
5 | ## Welcome to another page
6 |
7 | _yay_
8 |
9 | [back](./)
10 |
--------------------------------------------------------------------------------
/docs/.travis.yml:
--------------------------------------------------------------------------------
1 | language: ruby
2 | cache: bundler
3 | sudo: false
4 | rvm: 2.2
5 |
6 | install: script/bootstrap
7 | script: script/cibuild
8 |
--------------------------------------------------------------------------------
/docs/assets/fonts/Noto-Sans-700/Noto-Sans-700.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/edgardleal/require-vuejs/HEAD/docs/assets/fonts/Noto-Sans-700/Noto-Sans-700.eot
--------------------------------------------------------------------------------
/docs/assets/fonts/Noto-Sans-700/Noto-Sans-700.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/edgardleal/require-vuejs/HEAD/docs/assets/fonts/Noto-Sans-700/Noto-Sans-700.ttf
--------------------------------------------------------------------------------
/docs/assets/fonts/Noto-Sans-700/Noto-Sans-700.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/edgardleal/require-vuejs/HEAD/docs/assets/fonts/Noto-Sans-700/Noto-Sans-700.woff
--------------------------------------------------------------------------------
/docs/assets/fonts/Noto-Sans-700/Noto-Sans-700.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/edgardleal/require-vuejs/HEAD/docs/assets/fonts/Noto-Sans-700/Noto-Sans-700.woff2
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | .grunt/
3 | _SpecRunner.html
4 | examples/dist/
5 | *~
6 | coverage
7 | *.swp
8 | *.log
9 | examples/main-built.js
10 | .idea
11 |
--------------------------------------------------------------------------------
/docs/assets/fonts/Noto-Sans-italic/Noto-Sans-italic.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/edgardleal/require-vuejs/HEAD/docs/assets/fonts/Noto-Sans-italic/Noto-Sans-italic.eot
--------------------------------------------------------------------------------
/docs/assets/fonts/Noto-Sans-italic/Noto-Sans-italic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/edgardleal/require-vuejs/HEAD/docs/assets/fonts/Noto-Sans-italic/Noto-Sans-italic.ttf
--------------------------------------------------------------------------------
/docs/assets/fonts/Noto-Sans-italic/Noto-Sans-italic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/edgardleal/require-vuejs/HEAD/docs/assets/fonts/Noto-Sans-italic/Noto-Sans-italic.woff
--------------------------------------------------------------------------------
/docs/assets/fonts/Noto-Sans-italic/Noto-Sans-italic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/edgardleal/require-vuejs/HEAD/docs/assets/fonts/Noto-Sans-italic/Noto-Sans-italic.woff2
--------------------------------------------------------------------------------
/docs/assets/fonts/Noto-Sans-regular/Noto-Sans-regular.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/edgardleal/require-vuejs/HEAD/docs/assets/fonts/Noto-Sans-regular/Noto-Sans-regular.eot
--------------------------------------------------------------------------------
/docs/assets/fonts/Noto-Sans-regular/Noto-Sans-regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/edgardleal/require-vuejs/HEAD/docs/assets/fonts/Noto-Sans-regular/Noto-Sans-regular.ttf
--------------------------------------------------------------------------------
/docs/assets/fonts/Noto-Sans-regular/Noto-Sans-regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/edgardleal/require-vuejs/HEAD/docs/assets/fonts/Noto-Sans-regular/Noto-Sans-regular.woff
--------------------------------------------------------------------------------
/docs/assets/fonts/Noto-Sans-regular/Noto-Sans-regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/edgardleal/require-vuejs/HEAD/docs/assets/fonts/Noto-Sans-regular/Noto-Sans-regular.woff2
--------------------------------------------------------------------------------
/docs/assets/fonts/Noto-Sans-700italic/Noto-Sans-700italic.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/edgardleal/require-vuejs/HEAD/docs/assets/fonts/Noto-Sans-700italic/Noto-Sans-700italic.eot
--------------------------------------------------------------------------------
/docs/assets/fonts/Noto-Sans-700italic/Noto-Sans-700italic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/edgardleal/require-vuejs/HEAD/docs/assets/fonts/Noto-Sans-700italic/Noto-Sans-700italic.ttf
--------------------------------------------------------------------------------
/docs/assets/fonts/Noto-Sans-700italic/Noto-Sans-700italic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/edgardleal/require-vuejs/HEAD/docs/assets/fonts/Noto-Sans-700italic/Noto-Sans-700italic.woff
--------------------------------------------------------------------------------
/docs/assets/fonts/Noto-Sans-700italic/Noto-Sans-700italic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/edgardleal/require-vuejs/HEAD/docs/assets/fonts/Noto-Sans-700italic/Noto-Sans-700italic.woff2
--------------------------------------------------------------------------------
/examples/build.js:
--------------------------------------------------------------------------------
1 | ({
2 | baseUrl: ".",
3 | paths: {
4 | "Vue": "https://cdnjs.cloudflare.com/ajax/libs/vue/2.2.1/vue",
5 | "vue": "require-vuejs"
6 | },
7 | name: "app",
8 | out: "main-built.js"
9 | })
10 |
--------------------------------------------------------------------------------
/examples/js_in_different_file.vue:
--------------------------------------------------------------------------------
1 |
2 |
5 | This card comming from a .vue component 6 |
7 | 8 | 9 | 10 | 11 | 12 |5 | This card comming from a .html component 6 |
7 | 8 | 9 | 10 | 11 | 12 |5 | This component was loaded async trigged by vue-router 6 |
7 | 8 | 9 | 10 | 11 | 12 |5 | HOME 6 |
7 | 8 | 9 | 10 | 11 | 12 |5 | This component was loaded async trigged by vue-router 6 |
7 | 8 | 9 | 10 | 11 | 12 |{{ site.description | default: site.github.project_tagline }}
19 | 20 | {% if site.github.is_project_page %} 21 |View the Project on GitHub {{ github_name }}
22 | {% endif %} 23 | 24 | {% if site.github.is_user_page %} 25 | 26 | {% endif %} 27 | 28 | {% if site.show_downloads %} 29 |