3.2.0 • Published 1 month ago

@soton.ac.uk/cape3 v3.2.0

Weekly downloads
-
License
-
Repository
-
Last release
1 month ago

CAPE3

CAPE3 is a Vue plugin/application to enable websites that expose simple spreadsheet based data sets online.

Quickstart: Setting up a Cape3 Project

Create a new vue3 project using: npm create vue@latest With some options TBD. (Typescript, not router or pinia)

Edit src/main.ts to be:

import './assets/main.css'
import createCapeApp from '@/createCapeApp'
import { LoggingLevel } from './logging/loggingLevel'
import ConsoleLoggingPlugin from '@/plugins/ConsoleLoggingPlugin'

const app = createCapeApp({ siteData: 'site-data.json' })
app.use(ConsoleLoggingPlugin, { LoggingLevel: LoggingLevel.Error })
app.mount('#app')

And add a valid site-data.json file (probably created by the cape-mapper tool). See CreateCapeApp options for more options accepted by Cape3.

Remove all files and folders in src/ except for main.ts and assets

Edit the vite.config.ts and add the following option to the resolve.alias section: js: 'vue/dist/vue.esm-bundler.js' // allow run time compilation of templates from index.html

TODO: Consider a better starting site.css for a Cape project.

3.2.0

1 month ago

3.1.0

1 month ago

0.31.0

1 month ago

0.30.0

2 months ago

0.29.0

2 months ago

0.28.0

9 months ago

0.27.0

9 months ago

0.26.0

9 months ago

0.25.0

10 months ago

0.24.0

10 months ago

0.23.0

10 months ago

0.21.0

10 months ago

0.22.0

10 months ago

0.20.0

10 months ago

0.19.0

10 months ago

0.14.0

12 months ago

0.15.0

10 months ago

0.16.0

10 months ago

0.17.0

10 months ago

0.18.0

10 months ago

0.13.0

1 year ago

0.12.0

1 year ago

0.11.0

1 year ago

0.10.0

1 year ago

0.9.0

1 year ago

0.8.0

1 year ago

0.7.0

1 year ago

0.5.0

1 year ago

0.6.0

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago

0.4.0

1 year ago

0.1.0

1 year ago

0.0.1

1 year ago