Skip to content

Commit 590ff7c

Browse files
committed
Renamed package
1 parent cd1bf55 commit 590ff7c

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# vue-template-inheritance-loader
1+
# vue-inheritance-loader
22

3-
It's a long name, but pretty self explanatory. It's a webpack loader to be used along `vue-loader` for **Single File Components** that provides template extension.
3+
Webpack loader to be used along with `vue-loader` for **Single File Components** that provides template extension.
44

55
In Vue its possible to extend the component's controller using the [extends](https://vuejs.org/v2/api/#extends) option, which merges the data, methods, computed properties, etc. Its also possible to extend a component's template with the use of [slots](https://vuejs.org/v2/guide/components-slots.html). But in some cases where there's the need for tightly coupled components, where we want them to be a single entity but we want to reuse both template and controller logic, `extends` and `slot` aren't enough and can lead to cumbersome code.
66

@@ -10,7 +10,7 @@ In Vue its possible to extend the component's controller using the [extends](htt
1010

1111
Install it onto your project with `npm install`
1212
```
13-
npm install --save-dev vue-template-inheritance-loader
13+
npm install --save-dev vue-inheritance-loader
1414
```
1515

1616
You have to add it to your webpack configuration and it has to execute before `vue-loader`, for example with this config in your `vue.config.js`:

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"name": "vue-template-inheritance-loader",
2+
"name": "vue-inheritance-loader",
33
"version": "0.1.0",
44
"description": "Loader to provide template inheritance in Vue's Single File Components",
5-
"main": "index.js",
5+
"main": "./src/index.js",
66
"scripts": {},
77
"repository": {
88
"type": "git",
9-
"url": "git+ssh://[email protected]/mrodal/vue-template-inheritance-loader.git"
9+
"url": "git+ssh://[email protected]/mrodal/vue-inheritance-loader.git"
1010
},
1111
"keywords": [
1212
"vue",
@@ -22,9 +22,9 @@
2222
"author": "Matias Rodal (@mrodal)",
2323
"license": "ISC",
2424
"bugs": {
25-
"url": "https://github.com/mrodal/vue-template-inheritance-loader/issues"
25+
"url": "https://github.com/mrodal/vue-inheritance-loader/issues"
2626
},
27-
"homepage": "https://github.com/mrodal/vue-template-inheritance-loader#readme",
27+
"homepage": "https://github.com/mrodal/vue-inheritance-loader#readme",
2828
"dependencies": {
2929
"htmlparser2": "^3.10.0"
3030
},

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ let options = null;
2020

2121
module.exports = function (source, map) {
2222
options = {...defaultOptions, ...getOptions(this)};
23-
validateOptions(schema, options, 'vue-template-inheritance-loader');
23+
validateOptions(schema, options, 'vue-inheritance-loader');
2424

2525
let callback = this.async();
2626
resolveComponent(source, this).then((finalComponent) => {

src/options.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"definitions": {},
33
"$id": "http://example.com/root.json",
44
"type": "object",
5-
"description": "Options for vue-template-inheritance-loader",
5+
"description": "Options for vue-inheritance-loader",
66
"default": null,
77
"required": [
88
"EXT_POINT_TAG",

0 commit comments

Comments
 (0)