Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vue-draggable-grid
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Libraries
vue-draggable-grid
Commits
acfbff6f
Commit
acfbff6f
authored
2 years ago
by
Julian
Browse files
Options
Downloads
Patches
Plain Diff
Use other name for imported plugin
parent
959353b8
No related branches found
No related tags found
1 merge request
!2
Resolve "Implement basic functionality"
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/.vuepress/enhanceApp.js
+9
-9
9 additions, 9 deletions
docs/.vuepress/enhanceApp.js
docs/guide/index.md
+2
-2
2 additions, 2 deletions
docs/guide/index.md
example/src/main.js
+2
-2
2 additions, 2 deletions
example/src/main.js
with
13 additions
and
13 deletions
docs/.vuepress/enhanceApp.js
+
9
−
9
View file @
acfbff6f
import
plugin
from
"
../../src/index.js
"
import
draggableGrid
from
"
../../src/index.js
"
;
export
default
({
export
default
({
Vue
,
// the version of Vue being used in the VuePress app
Vue
,
// the version of Vue being used in the VuePress app
options
,
// the options for the root Vue instance
options
,
// the options for the root Vue instance
router
,
// the router instance for the app
router
,
// the router instance for the app
siteData
,
// site metadata
siteData
,
// site metadata
isServer
// is this enhancement applied in server-rendering or client
isServer
,
// is this enhancement applied in server-rendering or client
})
=>
{
})
=>
{
Vue
.
use
(
plugin
);
Vue
.
use
(
draggableGrid
);
}
}
;
This diff is collapsed.
Click to expand it.
docs/guide/index.md
+
2
−
2
View file @
acfbff6f
...
@@ -10,9 +10,9 @@ Install the package `vue-draggable-grid` via your favourite package manager.
...
@@ -10,9 +10,9 @@ Install the package `vue-draggable-grid` via your favourite package manager.
Include the library in your project:
Include the library in your project:
```
javascript
```
javascript
import
plugin
from
'
vue-draggable-grid
'
;
import
draggableGrid
from
"
vue-draggable-grid
"
;
Vue
.
use
(
plugin
);
Vue
.
use
(
draggableGrid
);
// Now create your app as usual
// Now create your app as usual
```
```
...
...
This diff is collapsed.
Click to expand it.
example/src/main.js
+
2
−
2
View file @
acfbff6f
import
Vue
from
"
vue
"
;
import
Vue
from
"
vue
"
;
import
App
from
"
./App.vue
"
;
import
App
from
"
./App.vue
"
;
import
plugin
from
"
../../src/index.js
"
;
import
draggableGrid
from
"
../../src/index.js
"
;
import
"
./assets/main.css
"
;
import
"
./assets/main.css
"
;
Vue
.
use
(
plugin
);
Vue
.
use
(
draggableGrid
);
new
Vue
({
new
Vue
({
render
:
(
h
)
=>
h
(
App
),
render
:
(
h
)
=>
h
(
App
),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment