Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
Prepare V1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalbaljet committed Oct 18, 2023
1 parent 91c5e4a commit 57826a4
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 24 deletions.
14 changes: 7 additions & 7 deletions app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"build": "vite build"
},
"devDependencies": {
"@protonemedia/laravel-splade-core": "file:../protonemedia-laravel-splade-core-0.1.0.tgz",
"@protonemedia/laravel-splade-core": "file:../protonemedia-laravel-splade-core-1.0.0.tgz",
"@protonemedia/laravel-splade-vite": "^1.0.3",
"@vitejs/plugin-vue": "^4.3.4",
"axios": "^1.1.2",
Expand Down
9 changes: 2 additions & 7 deletions app/resources/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,13 @@ import '../css/app.css'
import { createApp } from 'vue/dist/vue.esm-bundler.js'

// for dev
import { SpladeCorePlugin } from '../../../dist/protone-media-laravel-splade-core'
// import { SpladeCorePlugin } from '../../../dist/protone-media-laravel-splade-core'

// for build
// import { SpladeCorePlugin } from '@protonemedia/laravel-splade-core'
import { SpladeCorePlugin } from '@protonemedia/laravel-splade-core'

const app = createApp().use(SpladeCorePlugin, {
components: import.meta.glob('./splade/*.vue', { eager: true }),
})

notify('Hey there!')
.then(() => alert('User notified!'))
.catch(() => alert('Something went wrong!'))
.finally(() => {})

app.mount('#app')
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@protonemedia/laravel-splade-core",
"version": "0.1.0",
"version": "1.0.0",
"description": "Splade Core: Use <script setup> and all of Vue 3's magic in your Laravel Blade Components.",
"private": false,
"author": "Pascal Baljet <[email protected]>",
Expand Down
Binary file added protonemedia-laravel-splade-core-1.0.0.tgz
Binary file not shown.

0 comments on commit 57826a4

Please sign in to comment.