Skip to content

Commit

Permalink
update config
Browse files Browse the repository at this point in the history
  • Loading branch information
kamaroolkarim committed Aug 25, 2024
1 parent a596505 commit 5dc436f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ <h1>Chat Widget Test Page</h1>
<p>Try interacting with the widget to ensure it's working correctly.</p>
</div>

<!-- <script src="http://localhost:5173/dist/nous-chat.js"></script> -->
<script src="http://localhost:5173/dist/nous-chat.js"></script>

<script type="module"> // add for development type="module"
import Nous from './src/main.js' // for development only
<script> // add for development type="module"
// import Nous from './src/main.js' // for development only

Nous.init({
color: '#1076EE',
Expand Down
6 changes: 3 additions & 3 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default defineConfig({
},
cssCodeSplit: false
},
server: {
open: '/index.html'
}
// server: {
// open: '/index.html'
// }
})

0 comments on commit 5dc436f

Please sign in to comment.