You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 16, 2022. It is now read-only.
@@ -208,11 +239,177 @@ Finally, edit your `.nscrc` file and add Vue-cli configuration:
208
239
209
240
> A project example is available on this repository [https://github.com/NodeSitecore/sitecore-vue-boilerplate](https://github.com/NodeSitecore/sitecore-vue-boilerplate).
210
241
242
+
### Options
243
+
244
+
- `scssMixinsPath`: Add the scss file which include all of your mixins/variables should be shared with Vue Component.
245
+
- `outputDir`: Output directory where the source will be compiled.
246
+
- `baseUrl`: Set the base url for the different profile.
247
+
- `entries`: Configure the bundle compilation strategies (See Define entries section).
248
+
- `alias`: Set alias list for webpack (See Define alias section).
249
+
211
250
## Getters
212
251
213
252
## Configuration fields
214
253
215
254
Key | Default value | Tags | Description
216
255
--- | --- | --- | ---
217
256
vueCli | `{...}` | Vue-cli, Vue | Return the configuration dedicated to Vue-cli.
257
+
entries | `[...]` | Vue-cli, Vue | Entries list which will be compilied by webpack
258
+
259
+
260
+
## Define entries
261
+
262
+
VueCli configuration accept multiple entries files. Webpack will create different bundles according to your configuration.
263
+
Also, each entry can be configured by environment profile (production or development).
264
+
265
+
Here three possible scenario (production, development and all profile):
0 commit comments