@burh/nuxt-core 1.0.472 → 1.0.474

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/nuxt.config.js CHANGED
@@ -1,207 +1,207 @@
1
- let env = require('./environment');
2
- /*!
3
-
4
- =========================================================
5
- * Nuxt Argon Dashboard PRO - v1.0.0
6
- =========================================================
7
-
8
- * Product Page: https://www.creative-tim.com/product/nuxt-argon-dashboard-pro
9
- * Copyright 2019 Creative Tim (https://www.creative-tim.com)
10
-
11
- * Coded by www.creative-tim.com and www.binarcode.com
12
-
13
- =========================================================
14
-
15
- * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
16
-
17
- */
18
-
19
- const pkg = require('./package');
20
- const metaData = require('./metadata');
21
- const dictionary = require('./dictionary');
22
-
23
- module.exports = {
24
- mode: 'universal',
25
- router: {
26
- base: process.env.NODE_ENV === 'production' ? '/' : '',
27
- middleware: ['redirect']
28
- //middleware: ['maintenance']
29
- },
30
- serverMiddleware: [
31
- '~/middleware/user-agent-error',
32
- { path: '/busca', handler: '~/middleware/decodeUrl' },
33
- // { path: '/empresas/cadastro/criar-conta', handler: '~/middleware/new-account' }
34
- ],
35
- /*
36
- ** Headers of the page
37
- */
38
- head: {
39
- htmlAttrs: {
40
- lang: 'pt-BR'
41
- },
42
- title: metaData.title,
43
- //titleTemplate: 'Burh %s',
44
- meta: [
45
- { charset: 'utf-8' },
46
- { lang: 'pt-BR' },
47
- { name: 'viewport', content: 'width=device-width, initial-scale=1' },
48
- { hid: 'description', name: 'description', content: metaData.description },
49
- { hid: 'keywords', name: 'keywords', content: metaData.keywords },
50
- { hid: 'copyright', name: 'copyright', content: metaData.copyright },
51
- { hid: 'revisit-after', name: 'revisit-after', content: metaData.revisit_after },
52
- { hid: 'author', name: 'author', content: metaData.author },
53
- { hid: 'og:title', property: 'og:title', content: metaData.og.title },
54
- { hid: 'og:site_name', property: 'og:site_name', content: metaData.og.site_name },
55
- { hid: 'og:url', property: 'og:url', content: metaData.og.url },
56
- { hid: 'og:description', property: 'og:title', content: metaData.og.description },
57
- { hid: 'og:image', property: 'og:image', content: metaData.og.image },
58
- { hid: 'og:type', property: 'og:locale', content: metaData.og.type },
59
- { hid: 'twitter:card', property: 'twitter:card', content: metaData.twitter.card },
60
- { hid: 'twitter:site', property: 'twitter:site', content: metaData.twitter.site },
61
- { hid: 'twitter:title', property: 'twitter:title', content: metaData.twitter.title },
62
- { hid: 'twitter:description', property: 'twitter:description', content: metaData.twitter.description },
63
- { hid: 'twitter:image', property: 'twitter:image', content: metaData.twitter.image },
64
- { hid: 'twitter:url', property: 'twitter:url', content: metaData.twitter.url }
65
- ],
66
- link: [
67
- { rel: 'icon', type: 'image/png', href: 'favicon.png' },
68
- { rel: 'stylesheet', href: '/poppins.css' },
69
- { rel: 'stylesheet', href: '/fontawesome/css/all.min.css' }
70
- ]
71
- },
72
-
73
- /*
74
- ** Customize the progress-bar color
75
- */
76
- // loading: { color: '#fff' },
77
-
78
- /*
79
- ** Global CSS
80
- */
81
- css: [
82
- 'assets/css/nucleo/css/nucleo.css',
83
- 'assets/sass/argon.scss',
84
- 'flag-icon-css/css/flag-icon.min.css'
85
- ],
86
-
87
- /*
88
- ** Plugins to load before mounting the App
89
- */
90
- plugins: [
91
- '~/plugins/axios',
92
- '~/plugins/router',
93
- '~/plugins/localstorage',
94
- '~/plugins/dashboard/dashboard-plugin',
95
- '~/plugins/dashboard/eventBus.js',
96
- '~/plugins/pagination/pagination.js',
97
- { src: '~/plugins/social-media/fb-sdk', mode: 'client' },
98
- { src: '~/plugins/social-media/share-link-facebook', mode: 'client' },
99
- { src: '~/plugins/social-media/share-link-linkedin', mode: 'client' },
100
- { src: '~/plugins/social-media/share-link-twitter', mode: 'client' },
101
- { src: '~/plugins/social-media/share-link-whatsapp', mode: 'client' },
102
- { src: '~/plugins/carousel/owl-carousel.js', mode: 'client' },
103
- { src: '~/plugins/location/location', mode: 'client' },
104
- { src: '~/plugins/auth/auth', mode: 'client' },
105
- { src: '~/plugins/qrcode/qrcode', mode: 'client' },
106
- { src: '~/plugins/crop/crop', mode: 'client' },
107
- { src: '~/plugins/dom/loader', mode: 'client' },
108
- { src: '~/plugins/vClickOutside', mode: 'client' }
109
- //{ src: '~plugins/analytics/ga.js', mode: 'client' }
110
- ],
111
-
112
- /*
113
- ** Nuxt.js modules
114
- */
115
- modules: [
116
- // Doc: https://axios.nuxtjs.org/usage
117
- '@nuxtjs/axios',
118
- '@nuxtjs/pwa', [
119
- 'nuxt-sass-resources-loader', [
120
- 'assets/sass/burh-ds/variables.scss',
121
- '~bootstrap/scss/functions',
122
- 'assets/sass/burh-ds/functions',
123
- 'assets/sass/burh-ds/variables',
124
- '~bootstrap/scss/variables',
125
- '~bootstrap/scss/mixins',
126
- 'assets/sass/burh-ds/mixins'
127
- ]
128
- ],
129
- [
130
- 'nuxt-fontawesome', {
131
- imports: [{
132
- set: '@fortawesome/free-solid-svg-icons',
133
- icons: ['fas']
134
- },
135
- {
136
- set: '@fortawesome/free-regular-svg-icons',
137
- icons: ['far']
138
- },
139
- {
140
- set: '@fortawesome/free-brands-svg-icons',
141
- icons: ['fab']
142
- }
143
- ]
144
- }
145
- ],
146
- ['@nuxtjs/google-tag-manager', {
147
- id: 'GTM-K3CQDKF'
148
- }],
149
- ['nuxt-google-maps-module', {
150
- /* module options */
151
- key: 'AIzaSyDkTLkFvto2FU0kIejG-Ll-f_7Qeh8360s', // Default
152
- }],
153
- ['@nuxtjs/google-adsense', {
154
- id: 'ca-pub-1909661490063210'
155
- }],
156
- ['nuxt-validate', {
157
- lang: 'pt_BR',
158
- nuxti18n: {
159
- locale: {
160
- 'pt-BR': 'pt_BR'
161
- },
162
- },
163
- dictionary: {
164
- pt_BR: {
165
- attributes: dictionary
166
- }
167
- }
168
- }],
169
-
170
- ],
171
-
172
- /*
173
-
174
- ** Axios module configuration
175
- */
176
- axios: {
177
- // See https://github.com/nuxt-community/axios-module#options
178
- },
179
-
180
- env: env,
181
-
182
- /*
183
- ** Build configuration
184
- */
185
- build: {
186
- /*
187
- ** You can extend webpack config here
188
- */
189
- extend(config, ctx) {
190
- if (ctx.isDev) {
191
- config.devtool = '#source-map';
192
- }
193
- },
194
- extractCSS: true,
195
- babel: {
196
- plugins: [
197
- [
198
- 'component',
199
- {
200
- 'libraryName': 'element-ui',
201
- 'styleLibraryName': 'theme-chalk'
202
- }
203
- ]
204
- ]
205
- }
206
- }
207
- };
1
+ let env = require('./environment');
2
+ /*!
3
+
4
+ =========================================================
5
+ * Nuxt Argon Dashboard PRO - v1.0.0
6
+ =========================================================
7
+
8
+ * Product Page: https://www.creative-tim.com/product/nuxt-argon-dashboard-pro
9
+ * Copyright 2019 Creative Tim (https://www.creative-tim.com)
10
+
11
+ * Coded by www.creative-tim.com and www.binarcode.com
12
+
13
+ =========================================================
14
+
15
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
16
+
17
+ */
18
+
19
+ const pkg = require('./package');
20
+ const metaData = require('./metadata');
21
+ const dictionary = require('./dictionary');
22
+
23
+ module.exports = {
24
+ mode: 'universal',
25
+ router: {
26
+ base: process.env.NODE_ENV === 'production' ? '/' : '',
27
+ middleware: ['redirect']
28
+ //middleware: ['maintenance']
29
+ },
30
+ serverMiddleware: [
31
+ '~/middleware/user-agent-error',
32
+ { path: '/busca', handler: '~/middleware/decodeUrl' },
33
+ // { path: '/empresas/cadastro/criar-conta', handler: '~/middleware/new-account' }
34
+ ],
35
+ /*
36
+ ** Headers of the page
37
+ */
38
+ head: {
39
+ htmlAttrs: {
40
+ lang: 'pt-BR'
41
+ },
42
+ title: metaData.title,
43
+ //titleTemplate: 'Burh %s',
44
+ meta: [
45
+ { charset: 'utf-8' },
46
+ { lang: 'pt-BR' },
47
+ { name: 'viewport', content: 'width=device-width, initial-scale=1' },
48
+ { hid: 'description', name: 'description', content: metaData.description },
49
+ { hid: 'keywords', name: 'keywords', content: metaData.keywords },
50
+ { hid: 'copyright', name: 'copyright', content: metaData.copyright },
51
+ { hid: 'revisit-after', name: 'revisit-after', content: metaData.revisit_after },
52
+ { hid: 'author', name: 'author', content: metaData.author },
53
+ { hid: 'og:title', property: 'og:title', content: metaData.og.title },
54
+ { hid: 'og:site_name', property: 'og:site_name', content: metaData.og.site_name },
55
+ { hid: 'og:url', property: 'og:url', content: metaData.og.url },
56
+ { hid: 'og:description', property: 'og:title', content: metaData.og.description },
57
+ { hid: 'og:image', property: 'og:image', content: metaData.og.image },
58
+ { hid: 'og:type', property: 'og:locale', content: metaData.og.type },
59
+ { hid: 'twitter:card', property: 'twitter:card', content: metaData.twitter.card },
60
+ { hid: 'twitter:site', property: 'twitter:site', content: metaData.twitter.site },
61
+ { hid: 'twitter:title', property: 'twitter:title', content: metaData.twitter.title },
62
+ { hid: 'twitter:description', property: 'twitter:description', content: metaData.twitter.description },
63
+ { hid: 'twitter:image', property: 'twitter:image', content: metaData.twitter.image },
64
+ { hid: 'twitter:url', property: 'twitter:url', content: metaData.twitter.url }
65
+ ],
66
+ link: [
67
+ { rel: 'icon', type: 'image/png', href: 'favicon.png' },
68
+ { rel: 'stylesheet', href: '/poppins.css' },
69
+ { rel: 'stylesheet', href: '/fontawesome/css/all.min.css' }
70
+ ]
71
+ },
72
+
73
+ /*
74
+ ** Customize the progress-bar color
75
+ */
76
+ // loading: { color: '#fff' },
77
+
78
+ /*
79
+ ** Global CSS
80
+ */
81
+ css: [
82
+ 'assets/css/nucleo/css/nucleo.css',
83
+ 'assets/sass/argon.scss',
84
+ 'flag-icon-css/css/flag-icon.min.css'
85
+ ],
86
+
87
+ /*
88
+ ** Plugins to load before mounting the App
89
+ */
90
+ plugins: [
91
+ '~/plugins/axios',
92
+ '~/plugins/router',
93
+ '~/plugins/localstorage',
94
+ '~/plugins/dashboard/dashboard-plugin',
95
+ '~/plugins/dashboard/eventBus.js',
96
+ '~/plugins/pagination/pagination.js',
97
+ { src: '~/plugins/social-media/fb-sdk', mode: 'client' },
98
+ { src: '~/plugins/social-media/share-link-facebook', mode: 'client' },
99
+ { src: '~/plugins/social-media/share-link-linkedin', mode: 'client' },
100
+ { src: '~/plugins/social-media/share-link-twitter', mode: 'client' },
101
+ { src: '~/plugins/social-media/share-link-whatsapp', mode: 'client' },
102
+ { src: '~/plugins/carousel/owl-carousel.js', mode: 'client' },
103
+ { src: '~/plugins/location/location', mode: 'client' },
104
+ { src: '~/plugins/auth/auth', mode: 'client' },
105
+ { src: '~/plugins/qrcode/qrcode', mode: 'client' },
106
+ { src: '~/plugins/crop/crop', mode: 'client' },
107
+ { src: '~/plugins/dom/loader', mode: 'client' },
108
+ { src: '~/plugins/vClickOutside', mode: 'client' }
109
+ //{ src: '~plugins/analytics/ga.js', mode: 'client' }
110
+ ],
111
+
112
+ /*
113
+ ** Nuxt.js modules
114
+ */
115
+ modules: [
116
+ // Doc: https://axios.nuxtjs.org/usage
117
+ '@nuxtjs/axios',
118
+ '@nuxtjs/pwa', [
119
+ 'nuxt-sass-resources-loader', [
120
+ 'assets/sass/burh-ds/variables.scss',
121
+ '~bootstrap/scss/functions',
122
+ 'assets/sass/burh-ds/functions',
123
+ 'assets/sass/burh-ds/variables',
124
+ '~bootstrap/scss/variables',
125
+ '~bootstrap/scss/mixins',
126
+ 'assets/sass/burh-ds/mixins'
127
+ ]
128
+ ],
129
+ [
130
+ 'nuxt-fontawesome', {
131
+ imports: [{
132
+ set: '@fortawesome/free-solid-svg-icons',
133
+ icons: ['fas']
134
+ },
135
+ {
136
+ set: '@fortawesome/free-regular-svg-icons',
137
+ icons: ['far']
138
+ },
139
+ {
140
+ set: '@fortawesome/free-brands-svg-icons',
141
+ icons: ['fab']
142
+ }
143
+ ]
144
+ }
145
+ ],
146
+ ['@nuxtjs/google-tag-manager', {
147
+ id: 'GTM-K3CQDKF'
148
+ }],
149
+ ['nuxt-google-maps-module', {
150
+ /* module options */
151
+ key: 'AIzaSyDkTLkFvto2FU0kIejG-Ll-f_7Qeh8360s', // Default
152
+ }],
153
+ ['@nuxtjs/google-adsense', {
154
+ id: 'ca-pub-1909661490063210'
155
+ }],
156
+ ['nuxt-validate', {
157
+ lang: 'pt_BR',
158
+ nuxti18n: {
159
+ locale: {
160
+ 'pt-BR': 'pt_BR'
161
+ },
162
+ },
163
+ dictionary: {
164
+ pt_BR: {
165
+ attributes: dictionary
166
+ }
167
+ }
168
+ }],
169
+
170
+ ],
171
+
172
+ /*
173
+
174
+ ** Axios module configuration
175
+ */
176
+ axios: {
177
+ // See https://github.com/nuxt-community/axios-module#options
178
+ },
179
+
180
+ env: env,
181
+
182
+ /*
183
+ ** Build configuration
184
+ */
185
+ build: {
186
+ /*
187
+ ** You can extend webpack config here
188
+ */
189
+ extend(config, ctx) {
190
+ if (ctx.isDev) {
191
+ config.devtool = '#source-map';
192
+ }
193
+ },
194
+ extractCSS: true,
195
+ babel: {
196
+ plugins: [
197
+ [
198
+ 'component',
199
+ {
200
+ 'libraryName': 'element-ui',
201
+ 'styleLibraryName': 'theme-chalk'
202
+ }
203
+ ]
204
+ ]
205
+ }
206
+ }
207
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burh/nuxt-core",
3
- "version": "1.0.472",
3
+ "version": "1.0.474",
4
4
  "description": "Design System and Components.",
5
5
  "author": "Burh",
6
6
  "scripts": {
@@ -1,4 +1,4 @@
1
- import Vue from 'vue';
2
- import vClickOutside from 'v-click-outside';
3
-
4
- Vue.use(vClickOutside);
1
+ import Vue from 'vue';
2
+ import vClickOutside from 'v-click-outside';
3
+
4
+ Vue.use(vClickOutside);