xie392 / ionic_template

Repository from Github https://github.comxie392/ionic_templateRepository from Github https://github.comxie392/ionic_template

Ionic Template

This is a template for an Ionic project. It is based on the Ionic Framework.

Installation

pnpm i

Before running

If this is the first run, you need to generate a table.

/src/databases/connection.ts

const dataSourceConfig: DataSourceOptions = {
	name: 'cossConnection',
	type: 'capacitor',
	driver: sqliteParams.connection,
	database: dbName,
	mode: 'no-encryption',
	entities: entities,
	migrations: migrations,
	subscribers: [],
	logging: ['error', 'schema'],
	synchronize: true, // I don’t know if it is correct. If there is no table locally, you need to enable the following configuration
	migrationsRun: false
}

Running

pnpm dev

About


Languages

Language:TypeScript 67.3%Language:SCSS 16.1%Language:Swift 6.1%Language:Ruby 3.1%Language:JavaScript 3.0%Language:Java 2.6%Language:HTML 1.8%