├── .nvmrc ├── media └── screenshot.png ├── public ├── favicon.ico └── index.html ├── src ├── main.js └── App.vue ├── .gitignore ├── README.md └── package.json /.nvmrc: -------------------------------------------------------------------------------- 1 | v8.9.1 2 | -------------------------------------------------------------------------------- /media/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vuejs/vue-template-explorer/HEAD/media/screenshot.png -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vuejs/vue-template-explorer/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /src/main.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import App from './App.vue' 3 | 4 | Vue.config.productionTip = false 5 | 6 | new Vue({ 7 | render: h => h(App) 8 | }).$mount('#app') 9 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | /dist 4 | 5 | # local env files 6 | .env.local 7 | .env.*.local 8 | 9 | # Log files 10 | npm-debug.log* 11 | yarn-debug.log* 12 | yarn-error.log* 13 | 14 | # Editor directories and files 15 | .idea 16 | .vscode 17 | *.suo 18 | *.ntvs* 19 | *.njsproj 20 | *.sln 21 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # vue template explorer 2 | 3 | Playground for exploring how the Vue template compiler compiles your template. 4 | 5 | [Try it out](https://template-explorer.vuejs.org). 6 | 7 |

8 | 9 |

10 | -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Vue Template Explorer 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vue-template-explorer", 3 | "version": "0.1.0", 4 | "private": true, 5 | "scripts": { 6 | "serve": "vue-cli-service serve --open", 7 | "build": "vue-cli-service build" 8 | }, 9 | "dependencies": { 10 | "js-beautify": "^1.7.5", 11 | "lodash.debounce": "^4.0.8", 12 | "vue": "^2.5.21", 13 | "vue-codemirror": "^4.0.3", 14 | "vue-template-es2015-compiler": "^1.6.0" 15 | }, 16 | "devDependencies": { 17 | "@vue/babel-preset-app": "^3.2.0", 18 | "@vue/cli-plugin-babel": "^3.2.0", 19 | "@vue/cli-plugin-eslint": "^3.2.0", 20 | "@vue/cli-service": "^3.2.0", 21 | "eslint-plugin-vue": "^5.0.0", 22 | "vue-template-compiler": "^2.5.21" 23 | }, 24 | "vue": { 25 | "lintOnSave": true 26 | }, 27 | "eslintConfig": { 28 | "extends": [ 29 | "plugin:vue/essential", 30 | "eslint:recommended" 31 | ] 32 | }, 33 | "babel": { 34 | "presets": [ 35 | "@vue/app" 36 | ] 37 | }, 38 | "postcss": { 39 | "plugins": { 40 | "autoprefixer": {} 41 | } 42 | }, 43 | "browserslist": [ 44 | "> 1%", 45 | "last 2 versions", 46 | "not ie <= 8" 47 | ] 48 | } 49 | -------------------------------------------------------------------------------- /src/App.vue: -------------------------------------------------------------------------------- 1 | 28 | 29 | 124 | 125 | 172 | --------------------------------------------------------------------------------