piral-vue-3 0.15.9-beta.5423 → 0.15.9-beta.5437
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/README.md +10 -8
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -87,12 +87,16 @@ The `vue` package should be shared with the pilets via the *package.json*:
|
|
|
87
87
|
}
|
|
88
88
|
```
|
|
89
89
|
|
|
90
|
+
:::
|
|
91
|
+
|
|
92
|
+
## Development Setup
|
|
93
|
+
|
|
90
94
|
For your bundler additional packages may be necessary. For instance, for Webpack the following setup is required:
|
|
91
95
|
|
|
92
96
|
First, install the additional dev dependencies
|
|
93
97
|
|
|
94
98
|
```sh
|
|
95
|
-
npm i vue-loader @vue/compiler-sfc --save-dev
|
|
99
|
+
npm i vue-loader @vue/compiler-sfc@^3 --save-dev
|
|
96
100
|
```
|
|
97
101
|
|
|
98
102
|
then add a *webpack.config.js* to use them
|
|
@@ -101,7 +105,7 @@ then add a *webpack.config.js* to use them
|
|
|
101
105
|
const { VueLoaderPlugin } = require('vue-loader');
|
|
102
106
|
|
|
103
107
|
module.exports = function (config) {
|
|
104
|
-
config.module.rules.
|
|
108
|
+
config.module.rules.unshift({
|
|
105
109
|
test: /\.vue$/,
|
|
106
110
|
use: 'vue-loader'
|
|
107
111
|
});
|
|
@@ -122,16 +126,16 @@ const extendWebpack = require('piral-vue-3/extend-webpack');
|
|
|
122
126
|
module.exports = extendWebpack({});
|
|
123
127
|
```
|
|
124
128
|
|
|
125
|
-
For using `piral-vue/extend-webpack` you must have installed:
|
|
129
|
+
For using `piral-vue-3/extend-webpack` you must have installed:
|
|
126
130
|
|
|
127
|
-
- `vue-loader`
|
|
128
|
-
- `@vue/compiler-sfc`
|
|
131
|
+
- `vue-loader` (at least version 16)
|
|
132
|
+
- `@vue/compiler-sfc^3`
|
|
129
133
|
- `webpack`, e.g., via `piral-cli-webpack5`
|
|
130
134
|
|
|
131
135
|
You can do that via:
|
|
132
136
|
|
|
133
137
|
```sh
|
|
134
|
-
npm i vue-loader @vue/compiler-sfc piral-cli-webpack5 --save-dev
|
|
138
|
+
npm i vue-loader @vue/compiler-sfc^3 piral-cli-webpack5 --save-dev
|
|
135
139
|
```
|
|
136
140
|
|
|
137
141
|
The available options for `piral-vue-3/extend-webpack` are the same as for the options of the `vue-loader`, e.g.:
|
|
@@ -145,8 +149,6 @@ module.exports = extendWebpack({
|
|
|
145
149
|
});
|
|
146
150
|
```
|
|
147
151
|
|
|
148
|
-
:::
|
|
149
|
-
|
|
150
152
|
## License
|
|
151
153
|
|
|
152
154
|
Piral is released using the MIT license. For more information see the [license file](./LICENSE).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "piral-vue-3",
|
|
3
|
-
"version": "0.15.9-beta.
|
|
3
|
+
"version": "0.15.9-beta.5437",
|
|
4
4
|
"description": "Plugin for integrating Vue@3 components in Piral.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"piral",
|
|
@@ -69,11 +69,11 @@
|
|
|
69
69
|
"test": "echo \"Error: run tests from root\" && exit 1"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
|
-
"piral-core": "0.15.9-beta.
|
|
72
|
+
"piral-core": "0.15.9-beta.5437",
|
|
73
73
|
"vue": "^3.0.0"
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|
|
76
76
|
"vue": "^3.0.0"
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "f8f4a7e9d40f1867843e52379c9dc29ee737f409"
|
|
79
79
|
}
|