11export default {
22 // Global page headers: https://go.nuxtjs.dev/config-head
33 head : {
4- title : ' nuxt2-particles-demo' ,
4+ title : " nuxt2-particles-demo" ,
55 htmlAttrs : {
6- lang : 'en' ,
6+ lang : "en"
77 } ,
88 meta : [
9- { charset : ' utf-8' } ,
10- { name : ' viewport' , content : ' width=device-width, initial-scale=1' } ,
11- { hid : ' description' , name : ' description' , content : '' } ,
12- { name : ' format-detection' , content : ' telephone=no' } ,
9+ { charset : " utf-8" } ,
10+ { name : " viewport" , content : " width=device-width, initial-scale=1" } ,
11+ { hid : " description" , name : " description" , content : "" } ,
12+ { name : " format-detection" , content : " telephone=no" }
1313 ] ,
14- link : [ { rel : ' icon' , type : ' image/x-icon' , href : ' /favicon.ico' } ] ,
14+ link : [ { rel : " icon" , type : " image/x-icon" , href : " /favicon.ico" } ]
1515 } ,
1616
1717 // Global CSS: https://go.nuxtjs.dev/config-css
@@ -20,9 +20,9 @@ export default {
2020 // Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins
2121 plugins : [
2222 {
23- src : ' ~/plugins/vue2-particles.js' ,
24- mode : ' client' ,
25- } ,
23+ src : " ~/plugins/vue2-particles.js" ,
24+ mode : " client"
25+ }
2626 ] ,
2727
2828 // Auto import components: https://go.nuxtjs.dev/config-components
@@ -31,12 +31,101 @@ export default {
3131 // Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules
3232 buildModules : [
3333 // https://go.nuxtjs.dev/eslint
34- ' @nuxtjs/eslint-module' ,
34+ " @nuxtjs/eslint-module"
3535 ] ,
3636
3737 // Modules: https://go.nuxtjs.dev/config-modules
3838 modules : [ ] ,
3939
4040 // Build Configuration: https://go.nuxtjs.dev/config-build
41- build : { } ,
42- }
41+ build : {
42+ babel : {
43+ babelrc : true ,
44+ configFile : "./babel.config.js"
45+ } ,
46+ transpile : [ "tsparticles" ,
47+ "tsparticles-particles.js" ,
48+ "tsparticles-slim" ,
49+ "tsparticles-editor" ,
50+ "tsparticles-engine" ,
51+ "tsparticles-interaction-light" ,
52+ "tsparticles-interaction-external-attract" ,
53+ "tsparticles-interaction-external-bounce" ,
54+ "tsparticles-interaction-external-bubble" ,
55+ "tsparticles-interaction-external-connect" ,
56+ "tsparticles-interaction-external-grab" ,
57+ "tsparticles-interaction-external-pause" ,
58+ "tsparticles-interaction-external-push" ,
59+ "tsparticles-interaction-external-remove" ,
60+ "tsparticles-interaction-external-repulse" ,
61+ "tsparticles-interaction-external-slow" ,
62+ "tsparticles-interaction-external-trail" ,
63+ "tsparticles-interaction-particles-attract" ,
64+ "tsparticles-interaction-particles-collisions" ,
65+ "tsparticles-interaction-particles-links" ,
66+ "tsparticles-interaction-particles-repulse" ,
67+ "tsparticles-move-base" ,
68+ "tsparticles-move-parallax" ,
69+ "tsparticles-path-curves" ,
70+ "tsparticles-path-perlin-noise" ,
71+ "tsparticles-path-polygon" ,
72+ "tsparticles-path-simplex-noise" ,
73+ "tsparticles-plugin-absorbers" ,
74+ "tsparticles-plugin-canvas-mask" ,
75+ "tsparticles-plugin-emitters" ,
76+ "tsparticles-plugin-hsv-color" ,
77+ "tsparticles-plugin-infection" ,
78+ "tsparticles-plugin-motion" ,
79+ "tsparticles-plugin-polygon-mask" ,
80+ "tsparticles-plugin-sounds" ,
81+ "tsparticles-plugin-easing-back" ,
82+ "tsparticles-plugin-easing-circ" ,
83+ "tsparticles-plugin-easing-cubic" ,
84+ "tsparticles-plugin-easing-expo" ,
85+ "tsparticles-plugin-easing-quad" ,
86+ "tsparticles-plugin-easing-quart" ,
87+ "tsparticles-plugin-easing-quint" ,
88+ "tsparticles-plugin-easing-sine" ,
89+ "tsparticles-preset-big-circles" ,
90+ "tsparticles-preset-bubbles" ,
91+ "tsparticles-preset-confetti" ,
92+ "tsparticles-preset-fire" ,
93+ "tsparticles-preset-firefly" ,
94+ "tsparticles-preset-fireworks" ,
95+ "tsparticles-preset-fountain" ,
96+ "tsparticles-preset-links" ,
97+ "tsparticles-preset-sea-anemone" ,
98+ "tsparticles-preset-snow" ,
99+ "tsparticles-preset-stars" ,
100+ "tsparticles-preset-triangles" ,
101+ "tsparticles-shape-bubble" ,
102+ "tsparticles-shape-cards" ,
103+ "tsparticles-shape-circle" ,
104+ "tsparticles-shape-heart" ,
105+ "tsparticles-shape-image" ,
106+ "tsparticles-shape-line" ,
107+ "tsparticles-shape-multiline-text" ,
108+ "tsparticles-shape-path" ,
109+ "tsparticles-shape-polygon" ,
110+ "tsparticles-shape-rounded-rect" ,
111+ "tsparticles-shape-spiral" ,
112+ "tsparticles-shape-square" ,
113+ "tsparticles-shape-star" ,
114+ "tsparticles-shape-text" ,
115+ "tsparticles-updater-angle" ,
116+ "tsparticles-updater-color" ,
117+ "tsparticles-updater-destroy" ,
118+ "tsparticles-updater-gradient" ,
119+ "tsparticles-updater-life" ,
120+ "tsparticles-updater-opacity" ,
121+ "tsparticles-updater-orbit" ,
122+ "tsparticles-updater-out-modes" ,
123+ "tsparticles-updater-roll" ,
124+ "tsparticles-updater-size" ,
125+ "tsparticles-updater-stroke-color" ,
126+ "tsparticles-updater-tilt" ,
127+ "tsparticles-updater-twinkle" ,
128+ "tsparticles-updater-wobble" ,
129+ "tsparticles-demo-configs" ]
130+ }
131+ } ;
0 commit comments