File tree Expand file tree Collapse file tree 8 files changed +25184
-1074
lines changed Expand file tree Collapse file tree 8 files changed +25184
-1074
lines changed Original file line number Diff line number Diff line change
1
+ module . exports = {
2
+ presets : [
3
+ '@vue/app'
4
+ ]
5
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " vue-boiler-plate-routes" ,
3
+ "version" : " 0.1.0" ,
4
+ "private" : true ,
5
+ "scripts" : {
6
+ "start" : " vue-cli-service serve" ,
7
+ "build" : " vue-cli-service build" ,
8
+ "lint" : " vue-cli-service lint"
9
+ },
10
+ "dependencies" : {
11
+ "vue" : " ^3.2.26" ,
12
+ "vue-router" : " ^4.0.12" ,
13
+ "vuex" : " ^4.0.2"
14
+ },
15
+ "devDependencies" : {
16
+ "@vue/cli-plugin-babel" : " ~4.5.0" ,
17
+ "@vue/cli-plugin-eslint" : " ~4.5.0" ,
18
+ "@vue/cli-service" : " ~4.5.0" ,
19
+ "babel-eslint" : " ^10.0.1" ,
20
+ "eslint" : " ^6.7.2" ,
21
+ "eslint-plugin-vue" : " ^7.0.0-0" ,
22
+ "@vue/compiler-sfc" : " ^3.0.0-0"
23
+ },
24
+ "eslintConfig" : {
25
+ "root" : true ,
26
+ "env" : {
27
+ "node" : true
28
+ },
29
+ "extends" : [
30
+ " plugin:vue/essential" ,
31
+ " eslint:recommended"
32
+ ],
33
+ "rules" : {},
34
+ "parserOptions" : {
35
+ "parser" : " babel-eslint"
36
+ }
37
+ },
38
+ "postcss" : {
39
+ "plugins" : {
40
+ "autoprefixer" : {}
41
+ }
42
+ },
43
+ "browserslist" : [
44
+ " > 1%" ,
45
+ " last 2 versions" ,
46
+ " not ie <= 8"
47
+ ]
48
+ }
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html lang ="en ">
3
+
4
+ < head >
5
+ < meta charset ="utf-8 ">
6
+ < meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
7
+ < meta name ="viewport " content ="width=device-width,initial-scale=1.0 ">
8
+ < link rel ="icon " href ="<%= BASE_URL %>favicon.ico ">
9
+ < title > New Vue Project</ title >
10
+ </ head >
11
+
12
+ < body >
13
+ < noscript >
14
+ < strong > We're sorry but vue-boiler-plate-routes doesn't work properly without JavaScript enabled. Please enable it
15
+ to continue.</ strong >
16
+ </ noscript >
17
+ < div id ="app "> </ div >
18
+ <!-- built files will be auto injected -->
19
+ </ body >
20
+
21
+ </ html >
Original file line number Diff line number Diff line change
1
+ import { createApp } from 'vue'
2
+ import App from './App.vue'
3
+ import router from './router'
4
+
5
+ const app = createApp ( App )
6
+ app . use ( router ) ;
7
+ app . mount ( '#app' ) ;
You can’t perform that action at this time.
0 commit comments